Home
last modified time | relevance | path

Searched refs:st_uid (Results 1 – 25 of 149) 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()
124 if (c_buf.st_uid != set_uid && l_buf.st_uid == set_uid && in test_verify()
131 "set_gid=%d", c_buf.st_uid, l_buf.st_uid, set_uid, in test_verify()
/third_party/musl/libc-test/src/functionalext/supplement/stat/
Dfstatat.c41 EXPECT_EQ("fstatat_0100", st.st_uid, uid); in fstatat_0100()
68 EXPECT_EQ("fstatat_0200", st.st_uid, uid); in fstatat_0200()
95 EXPECT_EQ("fstatat_0300", st.st_uid, uid); in fstatat_0300()
119 EXPECT_EQ("fstatat_0100", st.st_uid, uid); in fstatat_time64_0100()
/third_party/python/Tools/c-analyzer/c_common/
Dfsutil.py421 if st.st_uid == uid:
424 if st.st_uid == gid or st.st_uid in groups:
434 if st.st_uid == uid:
437 if st.st_uid == gid or st.st_uid in groups:
447 if st.st_uid == uid:
450 if st.st_uid == gid or st.st_uid in groups:
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
Dchown.c37 EXPECT_EQ("chown_0100", buf.st_uid, 0); in chown_0100()
60 EXPECT_EQ("chown_0200", buf.st_uid, 0); in chown_0200()
83 printf("0300: %d\n", buf.st_uid); in chown_0300()
Dfchownat.c36 EXPECT_EQ("fchownat_0100", buf.st_uid, 0); in fchownat_0100()
58 EXPECT_EQ("fchownat_0200", buf.st_uid, 0); in fchownat_0200()
Dfchown.c41 EXPECT_EQ("fchown_0100", buff.st_uid, COUNT_ZERO); in fchown_0100()
58 EXPECT_EQ("fchown_0200", buff.st_uid, COUNT_ZERO); in fchown_0200()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
D26-2.c67 old_uid = stat_buf.st_uid; in main()
116 if (stat_buf.st_uid == old_uid && stat_buf.st_gid == old_gid) { in main()
121 if (stat_buf.st_uid != old_uid) in main()
/third_party/musl/libc-test/src/functional/
Dstat.c46 TEST(st.st_uid==geteuid(), "%d vs %d\n", (int)st.st_uid, (int)geteuid()); in main()
47 TEST(st.st_gid==getegid(), "%d vs %d\n", (int)st.st_uid, (int)geteuid()); in main()
/third_party/ltp/testcases/kernel/syscalls/setresuid/
Dsetresuid05.c89 if (ltpuser->pw_uid == buf.st_uid) { in setresuid_verify()
94 ltpuser->pw_uid, buf.st_uid); in setresuid_verify()
/third_party/ltp/testcases/kernel/syscalls/fstat/
Dfstat02.c40 if (stat_buf.st_uid != user_id) { in run()
42 stat_buf.st_uid, user_id); in run()
/third_party/python/Lib/
Dnetrc.py93 if prop.st_uid != os.getuid():
96 fowner = pwd.getpwuid(prop.st_uid)[0]
98 fowner = 'uid %s' % prop.st_uid
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/
D8-1.c98 if (stat_after.st_uid != stat_before.st_uid || 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.c50 if (stat_buf.st_uid != user_id) { in verify_stat()
52 stat_buf.st_uid, user_id); in verify_stat()
/third_party/musl/src/stat/
Dfstatat.c48 .st_uid = stx.stx_uid, in fstatat_statx()
109 .st_uid = kst.st_uid, in fstatat_kstat()
/third_party/musl/arch/mips64/
Dkstat.h7 uid_t st_uid; member
/third_party/musl/arch/powerpc64/bits/
Dstat.h6 uid_t st_uid; member
/third_party/musl/arch/s390x/bits/
Dstat.h6 uid_t st_uid; member
/third_party/musl/arch/s390x/
Dkstat.h6 uid_t st_uid; member
/third_party/musl/arch/powerpc64/
Dkstat.h6 uid_t st_uid; member
/third_party/musl/arch/x86_64/
Dkstat.h7 uid_t st_uid; member

123456