Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for gids (0.1 sec)

  1. pkg/kubelet/userns/userns_manager.go

    			return nil, err
    		}
    	}
    
    	var uids []*runtimeapi.IDMapping
    	var gids []*runtimeapi.IDMapping
    
    	for _, u := range userNs.UIDMappings {
    		uids = append(uids, &runtimeapi.IDMapping{
    			HostId:      u.HostId,
    			ContainerId: u.ContainerId,
    			Length:      u.Length,
    		})
    	}
    	for _, g := range userNs.GIDMappings {
    		gids = append(gids, &runtimeapi.IDMapping{
    			HostId:      g.HostId,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. src/syscall/syscall_aix.go

    	n, err = getgroups(n, &a[0])
    	if err != nil {
    		return nil, err
    	}
    	gids = make([]int, n)
    	for i, v := range a[0:n] {
    		gids[i] = int(v)
    	}
    	return
    }
    
    func Setgroups(gids []int) (err error) {
    	if len(gids) == 0 {
    		return setgroups(0, nil)
    	}
    
    	a := make([]_Gid_t, len(gids))
    	for i, v := range gids {
    		a[i] = _Gid_t(v)
    	}
    	return setgroups(len(a), &a[0])
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. src/syscall/syscall_linux.go

    		}
    		return EACCES
    	}
    
    	var fmode uint32
    	if uint32(uid) == st.Uid {
    		fmode = (st.Mode >> 6) & 7
    	} else {
    		var gid int
    		if flags&_AT_EACCESS != 0 {
    			gid = Getegid()
    		} else {
    			gid = Getgid()
    		}
    
    		if uint32(gid) == st.Gid || isGroupMember(int(st.Gid)) {
    			fmode = (st.Mode >> 3) & 7
    		} else {
    			fmode = st.Mode & 7
    		}
    	}
    
    	if fmode&mode == mode {
    		return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_container_linux.go

    		if cl.SecurityContext.NamespaceOptions.UsernsOptions != nil {
    			for _, mount := range config.Mounts {
    				mount.UidMappings = cl.SecurityContext.NamespaceOptions.UsernsOptions.Uids
    				mount.GidMappings = cl.SecurityContext.NamespaceOptions.UsernsOptions.Gids
    			}
    		}
    	}
    	return nil
    }
    
    // generateLinuxContainerConfig generates linux container config for kubelet runtime v1.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. pkg/registry/batch/cronjob/strategy_test.go

    	if len(errs) == 0 {
    		t.Errorf("Expected a validation error")
    	}
    
    	// Make sure we correctly implement the interface.
    	// Otherwise a typo could silently change the default.
    	var gcds rest.GarbageCollectionDeleteStrategy = Strategy
    	if got, want := gcds.DefaultGarbageCollectionPolicy(genericapirequest.NewContext()), rest.DeleteDependents; got != want {
    		t.Errorf("DefaultGarbageCollectionPolicy() = %#v, want %#v", got, want)
    	}
    
    	var (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. src/crypto/x509/parser.go

    			return nil, errors.New("x509: invalid certificate policies")
    		}
    		oid, ok := newOIDFromDER(OIDBytes)
    		if !ok {
    			return nil, errors.New("x509: invalid certificate policies")
    		}
    		oids = append(oids, oid)
    	}
    	return oids, nil
    }
    
    // isValidIPMask reports whether mask consists of zero or more 1 bits, followed by zero bits.
    func isValidIPMask(mask []byte) bool {
    	seenZero := false
    
    	for _, b := range mask {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginIntegrationTest.groovy

            binFile.text = """#!/usr/bin/env sh
    echo Script PID: \$\$
    
    $binFile.text
    """
    
            when:
            runViaStartScript()
            def pids = result.output.findAll(/PID: \d+/)
    
            then:
            assert pids.size() == 2
            assert pids[0] == pids[1]
        }
    
        @Requires(UnitTestPreconditions.Windows)
        def "can execute generated Windows start script"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  8. hack/lib/golang.sh

        local gigs
        gigs=$(kube::golang::get_physmem)
    
        if [[ ${gigs} -ge ${KUBE_PARALLEL_BUILD_MEMORY} ]]; then
          kube::log::status "Multiple platforms requested and available ${gigs}G >= threshold ${KUBE_PARALLEL_BUILD_MEMORY}G, building platforms in parallel"
          parallel=true
        else
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  9. cluster/gce/upgrade.sh

          return "${list_instances_rc}"
        fi
    
        process_count_left=${node_upgrade_parallelism}
        pids=()
        ret_code_sum=0  # Should stay 0 in the loop iff all parallel node upgrades succeed.
        for instance in "${instances[@]}"; do
          do-single-node-upgrade "${instance}" & pids+=("$!")
    
          # We don't want to run more than ${node_upgrade_parallelism} upgrades at a time,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  10. doc/godebug.md

    field, [`Policies`](/pkg/crypto/x509/#Certificate.Policies), which supports
    certificate policy OIDs with components larger than 31 bits. By default this
    field is only used during parsing, when it is populated with policy OIDs, but
    not used during marshaling. It can be used to marshal these larger OIDs, instead
    of the existing PolicyIdentifiers field, by using the
    [`x509usepolicies` setting.](/pkg/crypto/x509/#CreateCertificate).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top