Home
last modified time | relevance | path

Searched refs:getuid (Results 151 - 175 of 232) sorted by relevance

12345678910

/third_party/mesa3d/src/util/
H A Ddisk_cache_os.c865 getpwuid_r(getuid(), &pwd, buf, buf_size, &result); in disk_cache_generate_cache_dir()
904 if (geteuid() != getuid()) in disk_cache_enabled()
/third_party/python/Lib/test/
H A Dtest_posix.py69 "getpid", "getpgrp", "getppid", "getuid", "sync",
142 if os.getuid() != 0:
144 name = pwd.getpwuid(posix.getuid()).pw_name
724 uid = os.getuid()
741 # Emscripten getuid() / geteuid() always return 0 (root), but
1064 @unittest.skipUnless(hasattr(os, 'getuid'), "test needs os.getuid()")
1066 user = pwd.getpwuid(os.getuid())[0]
1067 group = pwd.getpwuid(os.getuid())[3]
1364 posix.chown(name, os.getuid(), o
[all...]
/third_party/mesa3d/src/gallium/frontends/dri/
H A Ddri_context.c163 if (geteuid() == getuid()) in dri_create_context()
/third_party/node/test/parallel/
H A Dtest-trace-events-fs-async.js16 uid = process.getuid();
H A Dtest-fs-error-messages.js606 fs.chown(nonexistentFile, process.getuid(), process.getgid(),
611 process.getuid(), process.getgid()),
781 fs.fchown(fd, process.getuid(), process.getgid(),
785 () => fs.fchownSync(fd, process.getuid(), process.getgid()),
/third_party/musl/porting/liteos_a/user/include/
H A Dunistd.h131 uid_t getuid(void);
/third_party/musl/porting/uniproton/kernel/include/
H A Dunistd.h106 uid_t getuid(void);
/third_party/musl/porting/linux/user/include/
H A Dunistd.h133 uid_t getuid(void);
/third_party/musl/porting/liteos_m/user/include/
H A Dunistd.h131 uid_t getuid(void);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dunistd.h106 uid_t getuid(void);
/third_party/musl/src/regex/
H A Dglob.c207 : getpwuid_r(getuid(), &pw, buf, PATH_MAX, &res)) { in expand_tilde()
/third_party/musl/porting/liteos_a/kernel/include/
H A Dunistd.h111 uid_t getuid(void);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dunistd.h106 uid_t getuid(void);
/third_party/libfuse/lib/
H A Dmount_util.c71 ruid = getuid(); in mtab_needs_update()
/third_party/musl/include/
H A Dunistd.h170 uid_t getuid(void);
/third_party/toybox/porting/liteos_a/toys/net/
H A Dping.c104 else if (TT.i<200 && getuid()) error_exit("need root for -i <200"); in ping_main()
/third_party/pulseaudio/src/daemon/
H A Dohos_pa_main.c706 start_server = conf->local_server_type == PA_SERVER_TYPE_USER || (getuid() == 0 && conf->local_server_type == PA_SERVER_TYPE_SYSTEM); in real_main()
840 if (getuid() == 0 && !conf->system_instance) in real_main()
843 else if (getuid() != 0 && conf->system_instance) { in real_main()
/third_party/rust/crates/nix/test/
H A Dtest_unistd.rs495 let uid = Some(getuid()); in test_chown()
515 let uid = Some(getuid()); in test_fchown()
532 let uid = Some(getuid()); in test_fchownat()
/third_party/pulseaudio/src/pulsecore/
H A Dcore-util.c342 uid = getuid(); in pa_make_secure_dir()
1470 if (st.st_uid != getuid() && st.st_uid != 0) in check_ours()
1794 if (stat(d, &st) == 0 && st.st_uid != getuid()) { in pa_get_runtime_dir()
1797 d, getuid(), st.st_uid); in pa_get_runtime_dir()
1888 (st.st_uid == getuid()) && in pa_get_runtime_dir()
/third_party/rust/crates/nix/test/sys/
H A Dtest_socket.rs1322 use nix::unistd::{close, getgid, getpid, getuid}; in test_scm_credentials()
1375 assert_eq!(cred.uid(), getuid().as_raw()); in test_scm_credentials()
1420 use nix::unistd::{close, getgid, getpid, getuid, pipe, write}; in test_impl_scm_credentials_and_rights()
1439 uid: getuid().as_raw(), in test_impl_scm_credentials_and_rights()
1476 assert_eq!(cred.uid(), getuid().as_raw()); in test_impl_scm_credentials_and_rights()
/third_party/alsa-utils/alsamixer/
H A Dconfigparser.c587 struct passwd *pwd = getpwuid(getuid()); in parse_default_config_file()
/third_party/libsnd/tests/
H A Dmisc_test.c331 if (getuid () == 0) in permission_test()
/third_party/musl/porting/linux/user/src/aio/
H A Daio.c195 .si_uid = getuid() in cleanup()
/third_party/musl/porting/liteos_a/user/src/aio/
H A Daio.c195 .si_uid = getuid() in cleanup()
/third_party/musl/src/aio/
H A Daio.c202 .si_uid = getuid() in cleanup()

Completed in 30 milliseconds

12345678910