Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/setregid/
Dsetregid03.c23 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()
Dsetregid02.c33 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()
Dsetregid04.c24 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/
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()
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()
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()
/third_party/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt05.c39 int real_gid = getgid(); in setup() local
49 SAFE_FILE_PRINTF("/proc/self/gid_map", "0 %d 1", real_gid); in setup()
Dsetsockopt06.c36 int real_gid = getgid(); in setup() local
44 SAFE_FILE_PRINTF("/proc/self/gid_map", "0 %d 1", real_gid); in setup()
Dsetsockopt07.c39 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/
Dfanout01.c34 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/
Dbind06.c34 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/
Dsendto03.c43 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/
Dicmp_rate_limit01.c57 int real_gid = getgid(); in setup() local
68 SAFE_FILE_PRINTF("/proc/self/gid_map", "0 %d 1\n", real_gid); in setup()