Home
last modified time | relevance | path

Searched refs:st_gid (Results 1 – 25 of 144) sorted by relevance

123456

/third_party/ltp/testcases/kernel/syscalls/fchownat/
Dfchownat02.c95 if (l_buf.st_uid == set_uid || l_buf.st_gid == set_gid) { in setup()
98 "set_gid(%d)", l_buf.st_uid, set_uid, l_buf.st_gid, in setup()
125 c_buf.st_gid != set_gid && l_buf.st_gid == set_gid) { in test_verify()
132 c_buf.st_gid, l_buf.st_gid, set_gid); in test_verify()
/third_party/ltp/testcases/kernel/syscalls/creat/
Dcreat08.c58 if (buf.st_gid != gid) { in file_test()
60 buf.st_gid, gid); in file_test()
88 if (buf.st_gid != free_gid) { in run()
90 buf.st_gid, free_gid); in run()
101 if (buf.st_gid != free_gid) { in run()
103 buf.st_gid, free_gid); in run()
Dcreat09.c68 if (buf.st_gid != free_gid) { in setup()
70 buf.st_gid, free_gid); in setup()
84 if (buf.st_gid != free_gid) { in file_test()
86 buf.st_gid, free_gid); in file_test()
/third_party/ltp/testcases/kernel/syscalls/open/
Dopen10.c56 if (buf.st_gid != gid) { in file_test()
58 buf.st_gid, gid); in file_test()
86 if (buf.st_gid != free_gid) { in run()
88 buf.st_gid, free_gid); in run()
99 if (buf.st_gid != free_gid) { in run()
101 buf.st_gid, free_gid); in run()
/third_party/musl/libc-test/src/functionalext/supplement/stat/
Dfstatat.c43 EXPECT_EQ("fstatat_0100", st.st_gid, gid); in fstatat_0100()
70 EXPECT_EQ("fstatat_0200", st.st_gid, gid); in fstatat_0200()
97 EXPECT_EQ("fstatat_0300", st.st_gid, gid); in fstatat_0300()
121 EXPECT_EQ("fstatat_0100", st.st_gid, gid); in fstatat_time64_0100()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
Dchown.c38 EXPECT_EQ("chown_0100", buf.st_gid, 0); in chown_0100()
61 printf("0200: %d\n", buf.st_gid); in chown_0200()
82 EXPECT_EQ("chown_0300", buf.st_gid, 0); in chown_0300()
Dfchownat.c37 EXPECT_EQ("fchownat_0100", buf.st_gid, 0); in fchownat_0100()
59 EXPECT_EQ("fchownat_0200", buf.st_gid, 0); in fchownat_0200()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
D26-2.c68 old_gid = stat_buf.st_gid; in main()
116 if (stat_buf.st_uid == old_uid && stat_buf.st_gid == old_gid) { in main()
123 if (stat_buf.st_gid != old_gid) in main()
/third_party/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir02.c33 if (statbuf.st_gid != free_gid) { in verify_mkdir()
36 statbuf.st_gid, free_gid); in verify_mkdir()
/third_party/ltp/testcases/kernel/syscalls/setresgid/
Dsetresgid04.c89 if (ltpuser->pw_gid == buf.st_gid) { in setresgid_verify()
94 ltpuser->pw_gid, buf.st_gid); in setresgid_verify()
/third_party/ltp/testcases/kernel/syscalls/fstat/
Dfstat02.c46 if (stat_buf.st_gid != group_id) { in run()
48 stat_buf.st_gid, group_id); in run()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/
D8-1.c99 stat_after.st_gid != stat_before.st_gid || in main()
/third_party/curl/lib/
Dfopen.c86 (nsb.st_uid == sb.st_uid) && (nsb.st_gid == sb.st_gid)) { in Curl_fopen()
/third_party/ltp/testcases/kernel/syscalls/chown/
Dchown02.c51 if (stat_buf.st_uid != uid || stat_buf.st_gid != gid) { in run()
53 tc[i].filename, stat_buf.st_uid, stat_buf.st_gid, uid, gid); in run()
Dchown03.c33 if (s->st_uid != exp_uid || s->st_gid != exp_gid) in check_owner()
36 FILENAME, s->st_uid, s->st_gid, exp_uid, exp_gid); in check_owner()
/third_party/ltp/testcases/kernel/syscalls/fchown/
Dfchown03.c39 if (s->st_uid != exp_uid || s->st_gid != exp_gid) in check_owner()
41 FILENAME, s->st_uid, s->st_gid, exp_uid, exp_gid); in check_owner()
Dfchown02.c61 if (stat_buf.st_uid != uid || stat_buf.st_gid != gid) in run()
63 tc[i].filename, stat_buf.st_uid, stat_buf.st_gid, uid, gid); in run()
/third_party/ltp/testcases/kernel/syscalls/stat/
Dstat01.c56 if (stat_buf.st_gid != group_id) { in verify_stat()
58 stat_buf.st_gid, group_id); in verify_stat()
/third_party/musl/src/stat/
Dfstatat.c49 .st_gid = stx.stx_gid, in fstatat_statx()
110 .st_gid = kst.st_gid, in fstatat_kstat()
/third_party/ltp/testcases/kernel/syscalls/mknod/
Dmknod05.c154 if (buf.st_gid != group2_gid) { in main()
247 if (buf.st_gid != group2_gid) { in setup()
Dmknod08.c152 if (buf.st_gid != mygid) { in main()
251 if (buf.st_gid != group2_gid) { in setup()
Dmknod03.c152 if (buf.st_gid != group2_gid) { in main()
251 if (buf.st_gid != group2_gid) { in setup()
Dmknod02.c156 if (buf.st_gid != mygid) { in main()
256 if (buf.st_gid != group2_gid) { in setup()
Dmknod04.c155 if (buf.st_gid != group2_gid) { in main()
256 if (buf.st_gid != group2_gid) { in setup()
/third_party/musl/arch/mips64/
Dkstat.h8 gid_t st_gid; member

123456