Home
last modified time | relevance | path

Searched refs:getegid (Results 1 – 25 of 166) sorted by relevance

1234567

/external/libbrillo/brillo/
Dfile_utils_unittest.cc106 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/
Dfchown01.c67 GID16_CHECK(getegid(), "fchown", cleanup) in main()
69 TEST(FCHOWN(cleanup, fd, geteuid(), getegid())); in main()
Dfchown04.c132 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/
Dgetresgid01.c145 pe_gid = getegid(); in setup()
148 ps_gid = getegid(); in setup()
/external/ltp/testcases/kernel/containers/userns/
Duserns02.c49 gid = getegid(); in child_fn1()
91 parentgid = getegid(); in main()
Duserns07.c68 parentgid = getegid(); in child_fn1()
102 parentgid = getegid(); in test_max_nest()
Duserns06.c77 gid = getegid(); in child_fn2()
123 parentgid = getegid(); in main()
Duserns03.c87 gid = getegid(); in child_fn2()
176 parentgid = getegid(); in main()
/external/ltp/testcases/kernel/syscalls/lchown/
Dlchown03.c119 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/
Dgetgroups03.c117 g = getegid(); in readgroups()
193 egid = getegid(); in verify_groups()
/external/ltp/testcases/kernel/syscalls/setregid/
Dsetregid04.c139 if ((getgid() != rg->gr_gid) || (getegid() != eg->gr_gid)) { in gid_verify()
141 when, getgid(), getegid()); in gid_verify()
Dsetregid02.c175 if ((getgid() != rg->gr_gid) || (getegid() != eg->gr_gid)) { in gid_verify()
177 when, getgid(), getegid()); in gid_verify()
Dsetregid03.c206 if ((getgid() != rg->gr_gid) || (getegid() != eg->gr_gid)) { in gid_verify()
208 when, getgid(), getegid()); in gid_verify()
/external/strace/tests-m32/
Dsetfsgid32.c9 # define GETUGID getegid()
Dint_0x80.c42 printf("getgid32() = %d\n", getegid()); in main()
Dsetresgid32.c9 # define GETUGID getegid()
Dsetregid32.c9 # define GETUGID getegid()
/external/strace/tests/
Dsetfsgid32.c9 # define GETUGID getegid()
Dint_0x80.c42 printf("getgid32() = %d\n", getegid()); in main()
Dsetgid32.c9 # define GETUGID getegid()
Dsetresgid32.c9 # define GETUGID getegid()
Dsetregid32.c9 # define GETUGID getegid()
/external/strace/tests-mx32/
Dint_0x80.c42 printf("getgid32() = %d\n", getegid()); in main()
Dsetfsgid32.c9 # define GETUGID getegid()
Dsetgid32.c9 # define GETUGID getegid()

1234567