- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 134 for gids (0.06 sec)
-
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.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: Thu Mar 07 05:26:45 UTC 2024 - 77.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.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 08 16:12:58 UTC 2024 - 84.4K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)