Home
last modified time | relevance | path

Searched refs:getuid (Results 51 - 75 of 232) sorted by relevance

12345678910

/third_party/openssl/crypto/
H A Duid.c52 return getuid() != geteuid() || getgid() != getegid(); in OPENSSL_issetugid()
/third_party/rust/crates/nix/test/
H A Dtest_mount.rs22 use nix::unistd::getuid;
211 let uid = getuid(); in setup_namespaces()
/third_party/node/lib/internal/bootstrap/
H A Dnode.js217 process.getuid = credentials.getuid;
/third_party/node/test/parallel/
H A Dtest-child-process-spawnsync-validation-errors.js7 common.isIBMi ? true : process.getuid() === 0;
60 pass('uid', process.getuid());
H A Dtest-fs-access.js8 if (!common.isWindows && process.getuid() === 0)
57 if (!common.isWindows && process.getuid() === 0) {
H A Dtest-fs-copyfile-respect-permissions.js8 if (!common.isWindows && process.getuid() === 0)
/third_party/toybox/toys/posix/
H A Ddf.c124 avail = getuid() ? mt->statvfs.f_favail : mt->statvfs.f_ffree; in show_mt()
129 avail= (block*(getuid()?mt->statvfs.f_bavail:mt->statvfs.f_bfree))/TT.units; in show_mt()
/third_party/ltp/testcases/kernel/syscalls/lstat/
H A Dlstat01.c53 user_id = getuid(); in setup()
/third_party/ltp/testcases/kernel/syscalls/rename/
H A Drename09.c35 orig_uid = getuid(); in setup()
/third_party/ltp/testcases/kernel/syscalls/syscall/
H A Dsyscall01.c39 u1 = getuid(); in verify_getuid()
47 tst_res(TPASS, "getuid() == syscall(SYS_getuid)"); in verify_getuid()
49 tst_res(TFAIL, "getuid() = %i, syscall(SYS_getuid) = %i", in verify_getuid()
/third_party/ltp/testcases/kernel/syscalls/fstat/
H A Dfstat02.c40 user_id = getuid(); in setup()
/third_party/ltp/testcases/kernel/syscalls/getresuid/
H A Dgetresuid01.c137 pr_uid = getuid(); in setup()
H A Dgetresuid03.c148 pr_uid = getuid(); in setup()
H A Dgetresuid02.c147 pr_uid = getuid(); in setup()
/third_party/ltp/testcases/kernel/syscalls/mkdir/
H A Dmkdir02.c61 SAFE_CHOWN(TESTDIR1, getuid(), free_gid); in setup()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/
H A D19-1.c46 if (getuid() != 0) { in main()
H A D1-1.c35 if (getuid() != 0) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/
H A D15-1.c69 if (getuid() == 0) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/
H A D6-1.c66 pw->pw_name, geteuid(), getuid()); in set_nonroot()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
H A D32-1.c65 if (getuid() == 0) { in main()
H A D34-1.c65 if (getuid() == 0) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/speculative/
H A D15-1.c69 if (getuid() == 0) { in main()
/third_party/libfuse/test/
H A Dtest_examples.py58 if os.getuid() != 0:
168 if os.getuid() == 0:
232 if os.getuid() == 0:
383 if os.getuid() == 0 and intended_user == 'non_root':
385 if os.getuid() != 0 and intended_user == 'root':
397 if os.getuid() == 0:
408 @pytest.mark.skipif(os.getuid() != 0,
/third_party/ltp/testcases/kernel/crypto/
H A Daf_alg07.c53 uid = getuid(); in setup()
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/
H A Dsemctl04.c39 perm.sem_perm.uid = getuid() + 1; in do_child()

Completed in 8 milliseconds

12345678910