Home
last modified time | relevance | path

Searched refs:real_gid (Results 1 – 9 of 9) sorted by relevance

/external/ltp/testcases/kernel/syscalls/setregid/
Dsetregid03.c25 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()
Dsetregid02.c34 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()
Dsetregid04.c25 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/
Dgetresgid01.c88 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()
Dgetresgid03.c92 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()
Dgetresgid02.c92 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/
Dfanout01.c34 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/
Dcommon_linux.h1608 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/
Dgenerated.go3101 static int real_gid;
3110 if (!write_file("/proc/self/gid_map", "0 %d 1\n", real_gid))
3207 real_gid = getgid();