Searched refs:getegid (Results 1 – 25 of 166) sorted by relevance
1234567
/external/libbrillo/brillo/ |
D | file_utils_unittest.cc | 106 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid() + 1, getegid())); in TEST_F() 112 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid(), getegid() + 1)); in TEST_F() 117 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid(), getegid())); in TEST_F() 123 EXPECT_TRUE(TouchFile(file_path_, kPermissions700, geteuid(), getegid())); in TEST_F() 129 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid(), getegid())); in TEST_F() 130 EXPECT_TRUE(TouchFile(file_path_, kPermissions700, geteuid(), getegid())); in TEST_F()
|
/external/ltp/testcases/kernel/syscalls/fchown/ |
D | fchown01.c | 67 GID16_CHECK(getegid(), "fchown", cleanup) in main() 69 TEST(FCHOWN(cleanup, fd, geteuid(), getegid())); in main()
|
D | fchown04.c | 132 GID16_CHECK(getegid(), "fchown", cleanup) in fchown_verify() 134 TEST(FCHOWN(cleanup, *test_cases[i].fd, geteuid(), getegid())); in fchown_verify()
|
/external/ltp/testcases/kernel/syscalls/getresgid/ |
D | getresgid01.c | 145 pe_gid = getegid(); in setup() 148 ps_gid = getegid(); in setup()
|
/external/ltp/testcases/kernel/containers/userns/ |
D | userns02.c | 49 gid = getegid(); in child_fn1() 91 parentgid = getegid(); in main()
|
D | userns07.c | 68 parentgid = getegid(); in child_fn1() 102 parentgid = getegid(); in test_max_nest()
|
D | userns06.c | 77 gid = getegid(); in child_fn2() 123 parentgid = getegid(); in main()
|
D | userns03.c | 87 gid = getegid(); in child_fn2() 176 parentgid = getegid(); in main()
|
/external/ltp/testcases/kernel/syscalls/lchown/ |
D | lchown03.c | 119 GID16_CHECK(getegid(), "lchown", cleanup) in lchown_verify() 121 TEST(LCHOWN(cleanup, test->pathname, geteuid(), getegid())); in lchown_verify()
|
/external/ltp/testcases/kernel/syscalls/getgroups/ |
D | getgroups03.c | 117 g = getegid(); in readgroups() 193 egid = getegid(); in verify_groups()
|
/external/ltp/testcases/kernel/syscalls/setregid/ |
D | setregid04.c | 139 if ((getgid() != rg->gr_gid) || (getegid() != eg->gr_gid)) { in gid_verify() 141 when, getgid(), getegid()); in gid_verify()
|
D | setregid02.c | 175 if ((getgid() != rg->gr_gid) || (getegid() != eg->gr_gid)) { in gid_verify() 177 when, getgid(), getegid()); in gid_verify()
|
D | setregid03.c | 206 if ((getgid() != rg->gr_gid) || (getegid() != eg->gr_gid)) { in gid_verify() 208 when, getgid(), getegid()); in gid_verify()
|
/external/strace/tests-m32/ |
D | setfsgid32.c | 9 # define GETUGID getegid()
|
D | int_0x80.c | 42 printf("getgid32() = %d\n", getegid()); in main()
|
D | setresgid32.c | 9 # define GETUGID getegid()
|
D | setregid32.c | 9 # define GETUGID getegid()
|
/external/strace/tests/ |
D | setfsgid32.c | 9 # define GETUGID getegid()
|
D | int_0x80.c | 42 printf("getgid32() = %d\n", getegid()); in main()
|
D | setgid32.c | 9 # define GETUGID getegid()
|
D | setresgid32.c | 9 # define GETUGID getegid()
|
D | setregid32.c | 9 # define GETUGID getegid()
|
/external/strace/tests-mx32/ |
D | int_0x80.c | 42 printf("getgid32() = %d\n", getegid()); in main()
|
D | setfsgid32.c | 9 # define GETUGID getegid()
|
D | setgid32.c | 9 # define GETUGID getegid()
|
1234567