- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 171 for Gid (0.08 sec)
-
src/os/os_unix_test.go
func checkUidGid(t *testing.T, path string, uid, gid int) { dir, err := Lstat(path) if err != nil { t.Fatalf("Lstat %q (looking for uid/gid %d/%d): %s", path, uid, gid, err) } sys := dir.Sys().(*syscall.Stat_t) if int(sys.Uid) != uid { t.Errorf("Lstat %q: uid %d want %d", path, sys.Uid, uid) } if int(sys.Gid) != gid { t.Errorf("Lstat %q: gid %d want %d", path, sys.Gid, gid) } } func TestChown(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:32:43 UTC 2023 - 11.5K bytes - Viewed (0) -
cmd/kubeadm/app/util/users/users_linux.go
} for _, g := range groups { if g.id != user.gid { continue } // Found matching group GID for user GID if g.name != uc.name { return nil, nil, errors.Errorf("user %q has GID %d but the group with that GID is not named %q", uc.name, g.id, uc.name) } goto skipUser // Valid group GID and name; skip }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 25 16:35:10 UTC 2023 - 20.7K bytes - Viewed (0) -
src/cmd/internal/archive/archive.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 15:39:57 UTC 2023 - 12.1K bytes - Viewed (0) -
src/os/user/lookup_windows.go
} sids = append(sids, sid) } return sids, nil } func newUser(uid, gid, dir, username, domain string) (*User, error) { domainAndUser := domain + `\` + username name, e := lookupFullName(domain, username, domainAndUser) if e != nil { return nil, e } u := &User{ Uid: uid, Gid: gid, Username: domainAndUser, Name: name, HomeDir: dir, } return u, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 16:42:41 UTC 2023 - 11.8K bytes - Viewed (0) -
src/syscall/exec_linux_test.go
"strconv" "strings" "syscall" "testing" "time" "unsafe" ) // whoamiNEWUSER returns a command that runs "whoami" with CLONE_NEWUSER, // mapping uid and gid 0 to the actual uid and gid of the test. func whoamiNEWUSER(t *testing.T, uid, gid int, setgroups bool) *exec.Cmd { t.Helper() testenv.MustHaveExecPath(t, "whoami") cmd := testenv.Command(t, "whoami") cmd.SysProcAttr = &syscall.SysProcAttr{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 07:45:37 UTC 2024 - 20.6K bytes - Viewed (0) -
tools/istio-iptables/pkg/capture/run.go
"-o", "lo", "-m", "owner", "!", "--gid-owner", gid, "-j", constants.RETURN) } } // Avoid infinite loops. Don't redirect Envoy traffic directly back to // Envoy for non-loopback traffic. cfg.ruleBuilder.AppendRule(iptableslog.UndefinedCommand, constants.ISTIOOUTPUT, constants.NAT, "-m", "owner", "--gid-owner", gid, "-j", constants.RETURN) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 03:53:23 UTC 2024 - 35.4K bytes - Viewed (0) -
pkg/volume/volume_linux_test.go
if !ok || stat == nil { t.Fatalf("error reading permission stats for tmpdir: %s", tmpDir) } gid := stat.Gid var expectedGid int64 if test.gidOwnerMatch { expectedGid = int64(gid) } else { expectedGid = int64(gid + 3000) } mask := rwMask if test.permissionMatch { mask |= execMask } if test.sgidMatch {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 03 19:34:37 UTC 2023 - 12.1K bytes - Viewed (0) -
src/syscall/fs_js.go
return err } func Chown(path string, uid, gid int) error { if err := checkPath(path); err != nil { return err } _, err := fsCall("chown", path, uint32(uid), uint32(gid)) return err } func Fchown(fd int, uid, gid int) error { _, err := fsCall("fchown", fd, uint32(uid), uint32(gid)) return err } func Lchown(path string, uid, gid int) error { if err := checkPath(path); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 11 18:19:17 UTC 2023 - 10.8K bytes - Viewed (0) -
src/archive/tar/reader_test.go
headers: []*Header{{ Name: "small.txt", Mode: 0640, Uid: 73025, Gid: 5000, Size: 5, ModTime: time.Unix(1244428340, 0), Typeflag: '0', Uname: "dsymonds", Gname: "eng", Format: FormatGNU, }, { Name: "small2.txt", Mode: 0640, Uid: 73025, Gid: 5000, Size: 11, ModTime: time.Unix(1244436044, 0), Typeflag: '0',
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 21 21:14:38 UTC 2022 - 47.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go
if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Fchown(fd int, uid int, gid int) (err error) { _, _, e1 := Syscall(SYS_FCHOWN32, uintptr(fd), uintptr(uid), uintptr(gid)) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 12.1K bytes - Viewed (0)