/third_party/ltp/testcases/kernel/syscalls/setregid/ |
D | setregid03.c | 23 gid_t *real_gid; member 76 *tc->real_gid, *tc->eff_gid); in test_success() 79 *tc->real_gid, *tc->eff_gid); in test_success() 86 *tc->real_gid, *tc->eff_gid); in test_failure() 89 *tc->real_gid, *tc->eff_gid); in test_failure() 93 *tc->real_gid, *tc->eff_gid); in test_failure() 114 TEST(SETREGID(*tc->real_gid, *tc->eff_gid)); in run()
|
D | setregid02.c | 33 gid_t *real_gid; member 73 TEST(SETREGID(*tc->real_gid, *tc->eff_gid)); in run() 79 *tc->real_gid, *tc->eff_gid); in run() 83 *tc->real_gid, *tc->eff_gid, in run() 89 *tc->real_gid, *tc->eff_gid, TST_RET); in run()
|
D | setregid04.c | 24 gid_t *real_gid; member 67 TEST(SETREGID(*test_data[i].real_gid, *test_data[i].eff_gid)); in run() 71 *test_data[i].real_gid, *test_data[i].eff_gid); in run()
|
/third_party/ltp/testcases/kernel/syscalls/getresgid/ |
D | getresgid01.c | 88 GID_T real_gid, /* real/eff./saved user id from getresgid() */ in main() local 103 TEST(GETRESGID(cleanup, &real_gid, &eff_gid, &sav_gid)); in main() 114 if ((real_gid != pr_gid) || (eff_gid != pe_gid) || in main() 118 real_gid, eff_gid, sav_gid); in main()
|
D | getresgid02.c | 92 GID_T real_gid, /* real/eff./saved user id from getresgid() */ in main() local 108 TEST(GETRESGID(cleanup, &real_gid, &eff_gid, &sav_gid)); in main() 120 if ((real_gid != pr_gid) || (eff_gid != pe_gid) || in main() 124 real_gid, eff_gid, sav_gid); in main()
|
D | getresgid03.c | 92 GID_T real_gid, /* real/eff./saved user id from getresgid() */ in main() local 108 TEST(GETRESGID(cleanup, &real_gid, &eff_gid, &sav_gid)); in main() 120 if ((real_gid != pr_gid) || (eff_gid != pe_gid) || in main() 124 real_gid, eff_gid, sav_gid); in main()
|
/third_party/ltp/testcases/kernel/syscalls/setsockopt/ |
D | setsockopt05.c | 39 int real_gid = getgid(); in setup() local 49 SAFE_FILE_PRINTF("/proc/self/gid_map", "0 %d 1", real_gid); in setup()
|
D | setsockopt06.c | 36 int real_gid = getgid(); in setup() local 44 SAFE_FILE_PRINTF("/proc/self/gid_map", "0 %d 1", real_gid); in setup()
|
D | setsockopt07.c | 39 int real_gid = getgid(); in setup() local 47 SAFE_FILE_PRINTF("/proc/self/gid_map", "0 %d 1", real_gid); in setup()
|
/third_party/ltp/testcases/network/packet/ |
D | fanout01.c | 34 int real_gid = getgid(); in setup() local 46 FILE_PRINTF("/proc/self/gid_map", "0 %d 1\n", real_gid); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/bind/ |
D | bind06.c | 34 int real_gid = getgid(); in setup() local 43 SAFE_FILE_PRINTF("/proc/self/gid_map", "0 %d 1\n", real_gid); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/sendto/ |
D | sendto03.c | 43 int real_gid = getgid(); in setup() local 52 SAFE_FILE_PRINTF("/proc/self/gid_map", "0 %d 1", real_gid); in setup()
|
/third_party/ltp/testcases/cve/ |
D | icmp_rate_limit01.c | 57 int real_gid = getgid(); in setup() local 68 SAFE_FILE_PRINTF("/proc/self/gid_map", "0 %d 1\n", real_gid); in setup()
|