Home
last modified time | relevance | path

Searched refs:getgid (Results 1 – 25 of 143) sorted by relevance

123456

/third_party/musl/libc-test/src/functionalext/supplement/unistd/
Dsetregid.c27 gid_t cgid = getgid(); in setregid_0100()
37 gid_t gid = getgid(); in setregid_0100()
57 gid_t cgid = getgid(); in setregid_0200()
67 gid_t gid = getgid(); in setregid_0200()
Dgetgid.c28 gid_t gid = getgid(); in getgid_0100()
Dsetgid.c32 if (getgid() != gid) { in setgid_0100()
Dsetpgid.c33 if (getgid() != result) { in setpgid_0100()
/third_party/node/test/parallel/
Dtest-process-uid-gid.js30 assert.strictEqual(process.getgid, undefined);
64 process.getgid();
80 const oldgid = process.getgid();
90 const newgid = process.getgid();
Dtest-child-process-spawnsync-validation-errors.js76 if (process.getgid() !== 0) {
79 pass('gid', process.getgid());
/third_party/node/deps/npm/node_modules/uid-number/
Dget-uid-gid.js5 if (!process.getuid || !process.getgid) {
11 , group = argv[1] || process.getgid()
21 console.log(JSON.stringify({uid:+process.getuid(), gid:+process.getgid()}))
/third_party/musl/libc-test/src/functionalext/supplement/stat/
Dfstatat.c42 gid_t gid = getgid(); in fstatat_0100()
69 gid_t gid = getgid(); in fstatat_0200()
96 gid_t gid = getgid(); in fstatat_0300()
120 gid_t gid = getgid(); in fstatat_time64_0100()
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/
Dsemctl07.c54 if (arg.buf->sem_perm.gid != getgid()) { in verify_semctl()
56 arg.buf->sem_perm.gid, getgid()); in verify_semctl()
68 if (arg.buf->sem_perm.cgid != getgid()) { in verify_semctl()
70 arg.buf->sem_perm.cgid, getgid()); in verify_semctl()
/third_party/ltp/testcases/kernel/syscalls/setregid/
Dsetregid04.c53 if ((getgid() != rg) || (getegid() != eg)) { in gid_verify()
55 when, getgid(), getegid()); in gid_verify()
83 root_gid = test_groups[0] = getgid(); in setup()
Dsetregid02.c57 if ((getgid() != rg) || (getegid() != eg)) { in gid_verify()
59 when, getgid(), getegid()); in gid_verify()
100 root_gid = test_groups[1] = getgid(); in setup()
Dsetregid03.c98 if ((getgid() != rg) || (getegid() != eg)) { in gid_verify()
100 when, getgid(), getegid()); in gid_verify()
/third_party/node/deps/npm/node_modules/gentle-fs/lib/
Dchown.js10 gid: process.getgid && process.getgid()
/third_party/node/deps/npm/node_modules/fs-write-stream-atomic/test/
Dchown.js12 var stream = writeStream(target, {chown: {uid: process.getuid(), gid: process.getgid()}})
29 var stream = writeStream(target, {chown: {uid: process.getuid(), gid: process.getgid()}})
/third_party/node/deps/npm/node_modules/isexe/
Dmode.js28 options.gid : process.getgid && process.getgid()
/third_party/pulseaudio/src/daemon/
Dcaps.c54 gid = getgid(); in pa_drop_root()
71 pa_assert_se(getgid() == gid); in pa_drop_root()
/third_party/node/deps/npm/test/tap/
Dcorrect-mkdir.js103 process.getgid = function () { return 0 } function
138 delete process.getgid
/third_party/node/deps/npm/lib/config/
Ddefaults.js161 : process.env.SUDO_GID || (process.getgid && process.getgid()),
243 process.getgid && process.setgid) ||
/third_party/musl/src/unistd/
Dgetgid.c4 gid_t getgid(void) in getgid() function
/third_party/ltp/testcases/kernel/syscalls/setgid/
Dsetgid01.c26 gid = getgid(); in setup()
Dsetgid03.c23 if (getgid() != nobody->pw_gid) in run()
/third_party/e2fsprogs/include/nonunix/
Dgrp.h5 __inline __gid_t getgid(void){return 0;} in getgid() function
/third_party/e2fsprogs/include/mingw/
Dunistd.h43 #define getgid() 0 macro
/third_party/openssl/crypto/
Duid.c52 return getuid() != geteuid() || getgid() != getegid(); in OPENSSL_issetugid()
/third_party/ltp/testcases/kernel/syscalls/acct/
Dacct02.c107 if (ACCT_MEMBER(ac_gid) != getgid()) { in verify_acct()
108 tst_res(TINFO, "ac_gid != %d (%d)", getgid(), in verify_acct()

123456