- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 115 for Getgid (0.13 sec)
-
src/os/proc.go
func Getgid() int { return syscall.Getgid() } // Getegid returns the numeric effective group id of the caller. // // On Windows, it returns -1. func Getegid() int { return syscall.Getegid() } // Getgroups returns a list of the numeric ids of groups that the caller belongs to. // // On Windows, it returns [syscall.EWINDOWS]. See the [os/user] package // for a possible alternative. func Getgroups() ([]int, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 2.3K bytes - Viewed (0) -
src/runtime/os_aix.go
} return int32(r) } //go:nosplit func getgid() int32 { r, errno := syscall0(&libc_getgid) if errno != 0 { print("getgid failed ", errno) throw("getgid") } return int32(r) } //go:nosplit func getegid() int32 { r, errno := syscall0(&libc_getegid) if errno != 0 { print("getegid failed ", errno) throw("getegid") } return int32(r)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.9K bytes - Viewed (0) -
src/syscall/syscall_js.go
return "", err } return string(buf[:n]), nil } func Getuid() int { return jsProcess.Call("getuid").Int() } func Getgid() int { return jsProcess.Call("getgid").Int() } func Geteuid() int { return jsProcess.Call("geteuid").Int() } func Getegid() int { return jsProcess.Call("getegid").Int() } func Getgroups() (groups []int, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 6.7K bytes - Viewed (0) -
src/syscall/exec_linux_test.go
} func TestCloneNEWUSERAndRemap(t *testing.T) { for _, setgroups := range []bool{false, true} { setgroups := setgroups t.Run(fmt.Sprintf("setgroups=%v", setgroups), func(t *testing.T) { uid := os.Getuid() gid := os.Getgid() cmd := whoamiNEWUSER(t, uid, gid, setgroups) out, err := cmd.CombinedOutput() t.Logf("%v: %v", cmd, err) if uid != 0 && setgroups {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 07:45:37 UTC 2024 - 20.6K bytes - Viewed (0) -
src/syscall/syscall_wasip1.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 9.4K bytes - Viewed (0) -
src/syscall/syscall_darwin.go
//sys Ftruncate(fd int, length int64) (err error) //sys Getdtablesize() (size int) //sysnb Getegid() (egid int) //sysnb Geteuid() (uid int) //sysnb Getgid() (gid int) //sysnb Getpgid(pid int) (pgid int, err error) //sysnb Getpgrp() (pgrp int) //sysnb Getpid() (pid int) //sysnb Getppid() (ppid int) //sys Getpriority(which int, who int) (prio int, err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:50 UTC 2024 - 11K bytes - Viewed (0) -
src/syscall/syscall_plan9.go
} return int64(r0) } func Gettimeofday(tv *Timeval) error { 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 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 9.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go
//sys getdirentries(fd int, buf []byte, basep *uint64) (n int, err error) //sys Getdtablesize() (size int) //sysnb Getegid() (egid int) //sysnb Geteuid() (uid int) //sysnb Getgid() (gid int) //sysnb Getpgid(pid int) (pgid int, err error) //sysnb Getpgrp() (pgrp int) //sysnb Getpid() (pid int) //sysnb Getppid() (ppid int) //sys Getpriority(which int, who int) (prio int, err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 05:26:45 UTC 2024 - 15.6K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_linux.go
return nil } user := &kubecontainer.ContainerUser{} if statusUser.GetLinux() != nil { user.Linux = &kubecontainer.LinuxContainerUser{ UID: statusUser.GetLinux().GetUid(), GID: statusUser.GetLinux().GetGid(), SupplementalGroups: statusUser.GetLinux().GetSupplementalGroups(), } } return user
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 17.2K bytes - Viewed (0) -
src/syscall/zsyscall_openbsd_arm.go
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getegid() (egid int) { r0, _, _ := rawSyscall(abi.FuncPCABI0(libc_getegid_trampoline), 0, 0, 0) egid = int(r0) return } func libc_getegid_trampoline() //go:cgo_import_dynamic libc_getegid getegid "libc.so" // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Geteuid() (uid int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:51:20 UTC 2024 - 47.6K bytes - Viewed (0)