/third_party/ltp/testcases/kernel/syscalls/setresgid/ |
H A D | setresgid03.c | 32 static gid_t nobody_gid, other_gid, neg = -1; variable 35 {&neg, &neg, &other_gid, &nobody_gid, &nobody_gid, &nobody_gid, 37 {&neg, &other_gid, &neg, &nobody_gid, &nobody_gid, &nobody_gid, 39 {&other_gid, &neg, &neg, &nobody_gid, &nobody_gid, &nobody_gid, [all...] |
H A D | setresgid01.c | 96 static uid_t nobody_gid, root_gid, neg = -1; variable 200 GID16_CHECK((nobody_gid = nobody.pw_gid), "setresgid", cleanup) in setup()
|
/third_party/ltp/testcases/kernel/syscalls/setregid/ |
H A D | setregid02.c | 23 static gid_t root_gid, nobody_gid, other_gid, neg_one = -1; variable 41 &neg_one, &root_gid, EPERM, &nobody_gid, &nobody_gid, 43 &neg_one, &other_gid, EPERM, &nobody_gid, &nobody_gid, 45 &root_gid, &neg_one, EPERM, &nobody_gid, &nobody_gid, 47 &other_gid, &neg_one, EPERM, &nobody_gid, &nobody_gid, 49 &root_gid, &other_gid, EPERM, &nobody_gid, [all...] |
/third_party/ltp/testcases/kernel/syscalls/setfsgid/ |
H A D | setfsgid01.c | 21 static gid_t nobody_gid; variable 28 nobody_gid = nobody->pw_gid; in setup() 39 TST_EXP_VAL(SETFSGID(nobody_gid), gid); in run() 40 TST_EXP_VAL(SETFSGID(-1), nobody_gid); in run() 41 TST_EXP_VAL_SILENT(SETFSGID(gid), nobody_gid); in run() local
|
/third_party/ltp/testcases/kernel/syscalls/setegid/ |
H A D | setegid01.c | 17 static gid_t nobody_gid; variable 24 nobody_gid = nobody->pw_gid; in setup() 36 tst_res(TINFO, "call setegid(nobody_gid %d)", nobody_gid); in setegid_verify() 37 SAFE_SETEGID(nobody_gid); in setegid_verify() 43 TST_EXP_EQ_LU(nobody_gid, cur_egid); in setegid_verify()
|
/third_party/ltp/testcases/kernel/syscalls/creat/ |
H A D | creat08.c | 34 static gid_t nobody_gid, free_gid; variable 43 nobody_gid = ltpuser->pw_gid; in setup() 45 (int)nobody_gid); in setup() 46 free_gid = tst_get_free_gid(nobody_gid); in setup() 108 SAFE_SETGID(nobody_gid); in run() 110 file_test(NOSETGID_A, MODE_RWX, 0, nobody_gid); in run() 111 file_test(SETGID_A, MODE_SGID, 1, nobody_gid); in run()
|
/third_party/ltp/testcases/kernel/syscalls/open/ |
H A D | open10.c | 32 static gid_t nobody_gid, free_gid; variable 41 nobody_gid = ltpuser->pw_gid; in setup() 43 (int)nobody_gid); in setup() 44 free_gid = tst_get_free_gid(nobody_gid); in setup() 106 SAFE_SETGID(nobody_gid); in run() 108 file_test(NOSETGID_A, MODE_RWX, 0, nobody_gid); in run() 109 file_test(SETGID_A, MODE_SGID, 1, nobody_gid); in run()
|
/third_party/ltp/testcases/kernel/security/dirtyc0w_shmem/ |
H A D | dirtyc0w_shmem.c | 31 static gid_t nobody_gid; variable 53 nobody_gid = pw->pw_gid; in setup() 70 SAFE_SETGID(nobody_gid); in dirtyc0w_shmem_test()
|
/third_party/ltp/testcases/kernel/security/dirtyc0w/ |
H A D | dirtyc0w.c | 44 static gid_t nobody_gid; variable 55 nobody_gid = pw->pw_gid; in setup() 71 SAFE_SETGID(nobody_gid); in dirtyc0w_test()
|
/third_party/ltp/testcases/kernel/syscalls/prctl/ |
H A D | prctl06.c | 29 static gid_t nobody_gid; variable 50 SAFE_SETGID(nobody_gid); in do_prctl() 89 nobody_gid = pw->pw_gid; in setup()
|
/third_party/ltp/testcases/kernel/syscalls/mount/ |
H A D | mount03.c | 47 static gid_t nobody_gid; variable 196 nobody_gid = ltpuser->pw_gid; in setup()
|