/third_party/rust/crates/rustix/tests/process/ |
D | id.rs | 32 assert_eq!(process::getegid(), process::getegid()); in test_getegid() 34 assert_eq!(process::getegid().as_raw(), libc::getegid()); in test_getegid() 35 assert_eq!(process::getegid().is_root(), libc::getegid() == 0); in test_getegid()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
D | setegid.c | 27 gid_t cegid = getegid(); in setegid_0100() 35 gid_t egid = getegid(); in setegid_0100() 53 gid_t cegid = getegid(); in setegid_0200() 61 gid_t egid = getegid(); in setegid_0200()
|
D | setregid.c | 28 gid_t cegid = getegid(); in setregid_0100() 38 gid_t egid = getegid(); in setregid_0100() 58 gid_t cegid = getegid(); in setregid_0200() 68 gid_t egid = getegid(); in setregid_0200()
|
D | getegid.c | 28 gid_t egid = getegid(); in getegid_0100()
|
/third_party/node/test/parallel/ |
D | test-process-euid-egid.js | 8 assert.strictEqual(process.getegid, undefined); 39 process.getegid(); 54 const oldgid = process.getegid(); 64 const newgid = process.getegid();
|
/third_party/ltp/testcases/kernel/containers/userns/ |
D | userns02.c | 27 gid = getegid(); in child_fn1() 51 parentgid = getegid(); in run()
|
D | userns07.c | 47 parentgid = getegid(); in child_fn1() 75 parentgid = getegid(); in run()
|
D | userns06.c | 53 gid = getegid(); in child_fn2() 77 parentgid = getegid(); in run()
|
D | userns03.c | 61 gid = getegid(); in child_fn2() 131 parentgid = getegid(); in run()
|
/third_party/ltp/testcases/kernel/syscalls/getresgid/ |
D | getresgid01.c | 144 pe_gid = getegid(); in setup() 147 ps_gid = getegid(); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/setregid/ |
D | setregid04.c | 53 if ((getgid() != rg) || (getegid() != eg)) { in gid_verify() 55 when, getgid(), getegid()); in gid_verify()
|
D | setregid02.c | 57 if ((getgid() != rg) || (getegid() != eg)) { in gid_verify() 59 when, getgid(), getegid()); in gid_verify()
|
D | setregid03.c | 98 if ((getgid() != rg) || (getegid() != eg)) { in gid_verify() 100 when, getgid(), getegid()); in gid_verify()
|
/third_party/ltp/testcases/kernel/syscalls/lchown/ |
D | lchown03.c | 119 GID16_CHECK(getegid(), "lchown", cleanup) in lchown_verify() 121 TEST(LCHOWN(cleanup, test->pathname, geteuid(), getegid())); in lchown_verify()
|
/third_party/ntfs-3g/libfuse-lite/ |
D | fusermount.c | 90 if (!getegid()) { in drop_privs() 94 if (setresgid(-1, new_gid, getegid()) < 0) { in drop_privs() 98 if (getegid() != new_gid){ in drop_privs() 141 if (getegid()) { in restore_privs() 153 if (getegid() != sgid){ in restore_privs()
|
/third_party/ltp/testcases/kernel/syscalls/getgroups/ |
D | getgroups03.c | 117 g = getegid(); in readgroups() 193 egid = getegid(); in verify_groups()
|
/third_party/musl/libc-test/src/functional/ |
D | ipc_sem.c | 61 EQ(semid_ds.sem_perm.cgid, getegid(), "got %d, want %d"); in inc() 62 EQ(semid_ds.sem_perm.gid, getegid(), "got %d, want %d"); in inc()
|
D | ipc_shm.c | 55 EQ(shmid_ds.shm_perm.cgid, getegid(), "got %d, want %d"); in set() 56 EQ(shmid_ds.shm_perm.gid, getegid(), "got %d, want %d"); in set()
|
D | ipc_msg.c | 58 EQ(qid_ds.msg_perm.cgid, getegid(), "got %d, want %d"); in snd() 59 EQ(qid_ds.msg_perm.gid, getegid(), "got %d, want %d"); in snd()
|
/third_party/ltp/testcases/kernel/syscalls/statx/ |
D | statx01.c | 117 if (getegid() == buff.stx_gid) in test_normal_file() 121 buff.stx_gid, getegid()); in test_normal_file()
|
/third_party/node/src/ |
D | node_credentials.cc | 83 getuid() != geteuid() || getgid() != getegid()) in SafeGetenv() 85 if (linux_at_secure() || getuid() != geteuid() || getgid() != getegid()) in SafeGetenv() 260 args.GetReturnValue().Set(static_cast<uint32_t>(getegid())); in GetEGid() 353 gid_t egid = getegid(); in GetGroups()
|
/third_party/rust/crates/rustix/src/process/ |
D | id.rs | 238 pub fn getegid() -> Gid { in getegid() function 239 backend::process::syscalls::getegid() in getegid()
|
/third_party/musl/src/unistd/ |
D | getegid.c | 4 gid_t getegid(void) in getegid() function
|
/third_party/ltp/testcases/kernel/syscalls/chown/ |
D | chown01.c | 31 GID16_CHECK((gid = getegid()), "chown"); in setup()
|
/third_party/node/deps/openssl/openssl/crypto/ |
D | uid.c | 52 return getuid() != geteuid() || getgid() != getegid(); in OPENSSL_issetugid()
|