Searched refs:real_gid (Results 1 – 9 of 9) sorted by relevance
/external/ltp/testcases/kernel/syscalls/setregid/ |
D | setregid03.c | 25 gid_t *real_gid; member 92 *tc->real_gid, *tc->eff_gid); in test_success() 95 *tc->real_gid, *tc->eff_gid); in test_success() 102 *tc->real_gid, *tc->eff_gid); in test_failure() 105 *tc->real_gid, *tc->eff_gid); in test_failure() 109 *tc->real_gid, *tc->eff_gid); in test_failure() 130 TEST(SETREGID(*tc->real_gid, *tc->eff_gid)); in run()
|
D | setregid02.c | 34 gid_t *real_gid; member 92 TEST(SETREGID(*tc->real_gid, *tc->eff_gid)); in run() 98 *tc->real_gid, *tc->eff_gid); in run() 102 *tc->real_gid, *tc->eff_gid, in run() 108 *tc->real_gid, *tc->eff_gid, TST_RET); in run()
|
D | setregid04.c | 25 gid_t *real_gid; member 69 TEST(SETREGID(*test_data[i].real_gid, *test_data[i].eff_gid)); in run() 73 *test_data[i].real_gid, *test_data[i].eff_gid); in run()
|
/external/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 | 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()
|
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()
|
/external/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()
|
/external/syzkaller/executor/ |
D | common_linux.h | 1608 static int real_gid; variable 1619 if (!write_file("/proc/self/gid_map", "0 %d 1\n", real_gid)) in namespace_sandbox_proc() 1729 real_gid = getgid(); in do_sandbox_namespace()
|
/external/syzkaller/pkg/csource/ |
D | generated.go | 3101 static int real_gid; 3110 if (!write_file("/proc/self/gid_map", "0 %d 1\n", real_gid)) 3207 real_gid = getgid();
|