Home
last modified time | relevance | path

Searched refs:nobody_gid (Results 1 - 11 of 11) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/setresgid/
H A Dsetresgid03.c32 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 Dsetresgid01.c96 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 Dsetregid02.c23 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 Dsetfsgid01.c21 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 Dsetegid01.c17 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 Dcreat08.c34 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 Dopen10.c32 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 Ddirtyc0w_shmem.c31 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 Ddirtyc0w.c44 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 Dprctl06.c29 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 Dmount03.c47 static gid_t nobody_gid; variable
196 nobody_gid = ltpuser->pw_gid; in setup()

Completed in 4 milliseconds