Home
last modified time | relevance | path

Searched refs:nobody_gid (Results 1 – 8 of 8) sorted by relevance

/external/ltp/testcases/kernel/syscalls/setegid/
Dsetegid01.c41 static gid_t nobody_gid; variable
72 nobody_gid = nobody->pw_gid; in setup()
84 tst_resm(TINFO, "calling setegid(nobody_gid %d)", nobody_gid); in setegid_verify()
85 SAFE_SETEGID(cleanup, nobody_gid); in setegid_verify()
92 if (nobody_gid != cur_egid) { in setegid_verify()
/external/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir02.c25 static gid_t nobody_gid, bin_gid; variable
73 nobody_gid = pw->pw_gid; in setup()
82 SAFE_SETREGID(nobody_gid, nobody_gid); in setup()
/external/ltp/testcases/kernel/syscalls/setresgid/
Dsetresgid03.c102 static uid_t nobody_gid, bin_gid, neg = -1; variable
210 GID16_CHECK((nobody_gid = nobody.pw_gid), "setresgid", cleanup) in setup()
213 if (setresgid(nobody_gid, nobody_gid, nobody_gid) == -1) { in setup()
Dsetresgid02.c101 static uid_t nobody_gid, root_gid, bin_gid, neg = -1; variable
214 GID16_CHECK((nobody_gid = nobody.pw_gid), "setresgid", cleanup) in setup()
217 if (setresgid(-1, nobody_gid, nobody_gid) == -1) { in setup()
Dsetresgid01.c96 static uid_t nobody_gid, root_gid, neg = -1; variable
200 GID16_CHECK((nobody_gid = nobody.pw_gid), "setresgid", cleanup) in setup()
/external/ltp/testcases/kernel/security/dirtyc0w/
Ddirtyc0w.c42 static gid_t nobody_gid; variable
51 nobody_gid = pw->pw_gid; in setup()
67 SAFE_SETGID(nobody_gid); in dirtyc0w_test()
/external/ltp/testcases/kernel/syscalls/prctl/
Dprctl06.c23 static gid_t nobody_gid; variable
42 SAFE_SETGID(nobody_gid); in do_prctl()
80 nobody_gid = pw->pw_gid; in setup()
/external/ltp/testcases/kernel/syscalls/setgid/
Dsetgid02.c38 static char nobody_gid[] = "nobody"; variable