Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 124 for gids (0.04 sec)

  1. src/syscall/syscall_plan9.go

    	nsec := nsec()
    	*tv = NsecToTimeval(nsec)
    	return nil
    }
    
    func Getegid() (egid int) { return -1 }
    func Geteuid() (euid int) { return -1 }
    func Getgid() (gid int)   { return -1 }
    func Getuid() (uid int)   { return -1 }
    
    func Getgroups() (gids []int, err error) {
    	return make([]int, 0), nil
    }
    
    //sys	open(path string, mode int) (fd int, err error)
    
    func Open(path string, mode int) (fd int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. 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)
  3. common-protos/k8s.io/api/policy/v1beta1/generated.proto

    message RunAsGroupStrategyOptions {
      // rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
      optional string rule = 1;
    
      // ranges are the allowed ranges of gids that may be used. If you would like to force a single gid
      // then supply a single range with the same start and end. Required for MustRunAs.
      // +optional
      repeated IDRange ranges = 2;
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. src/syscall/syscall_windows.go

    func Chown(path string, uid int, gid int) (err error)  { return EWINDOWS }
    func Lchown(path string, uid int, gid int) (err error) { return EWINDOWS }
    func Fchown(fd Handle, uid int, gid int) (err error)   { return EWINDOWS }
    
    func Getuid() (uid int)                  { return -1 }
    func Geteuid() (euid int)                { return -1 }
    func Getgid() (gid int)                  { return -1 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    func Chown(path string, uid int, gid int) (err error)  { return syscall.EWINDOWS }
    func Lchown(path string, uid int, gid int) (err error) { return syscall.EWINDOWS }
    func Fchown(fd Handle, uid int, gid int) (err error)   { return syscall.EWINDOWS }
    
    func Getuid() (uid int)                  { return -1 }
    func Geteuid() (euid int)                { return -1 }
    func Getgid() (gid int)                  { return -1 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_pods.go

    }
    
    // getKubeletMappings returns the range of IDs that can be used to configure user namespaces.
    // If subordinate user or group ID ranges are specified for the kubelet user and the getsubids tool
    // is installed, then the single mapping specified both for user and group IDs will be used.
    // If the tool is not installed, or there are no IDs configured, the default mapping is returned.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  7. pkg/util/procfs/procfs_linux_test.go

    }
    
    func TestPidOf(t *testing.T) {
    	if runtime.GOOS == "darwin" || runtime.GOOS == "windows" {
    		t.Skipf("not supported on GOOS=%s", runtime.GOOS)
    	}
    	pids, err := PidOf(filepath.Base(os.Args[0]))
    	assert.Empty(t, err)
    	assert.NotZero(t, pids)
    	assert.Contains(t, pids, os.Getpid())
    }
    
    func TestPKill(t *testing.T) {
    	if runtime.GOOS == "darwin" || runtime.GOOS == "windows" {
    		t.Skipf("not supported on GOOS=%s", runtime.GOOS)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 07:13:28 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  8. pkg/util/procfs/procfs_linux.go

    		return fmt.Errorf("name should not be empty")
    	}
    	re, err := regexp.Compile(name)
    	if err != nil {
    		return err
    	}
    	pids := getPids(re)
    	if len(pids) == 0 {
    		return fmt.Errorf("unable to fetch pids for process name : %q", name)
    	}
    	errList := []error{}
    	for _, pid := range pids {
    		if err = syscall.Kill(pid, sig); err != nil {
    			errList = append(errList, err)
    		}
    	}
    	return utilerrors.NewAggregate(errList)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 16 09:22:35 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/test2json_interrupt.txt

    go 1.20
    -- example_test.go --
    package example_test
    
    import (
    	"fmt"
    	"os"
    	"strconv"
    	"testing"
    	"strings"
    	"time"
    )
    
    func FuzzInterrupt(f *testing.F) {
    	pids := os.Getenv("GO_TEST_INTERRUPT_PIDS")
    	if pids == "" {
    		// This is the main test process.
    		// Set the environment variable for fuzz workers.
    		pid := os.Getpid()
    		ppid := os.Getppid()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 08 03:52:44 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ProcessFixture.groovy

            return result == "" ? [] : result.split("\\n")
        }
    
        // Only supported on *nix platforms
        String[] getProcessInfo(String[] pids) {
            if (pids == null || pids.size() == 0) {
                throw new RuntimeException("Unable to get process info because provided pids are null or empty!")
            }
            if (!(OperatingSystem.current().unix)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top