/third_party/mesa3d/src/util/ |
H A D | disk_cache_os.c | 865 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 D | test_posix.py | 69 "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 D | dri_context.c | 163 if (geteuid() == getuid()) in dri_create_context()
|
/third_party/node/test/parallel/ |
H A D | test-trace-events-fs-async.js | 16 uid = process.getuid();
|
H A D | test-fs-error-messages.js | 606 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 D | unistd.h | 131 uid_t getuid(void);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | unistd.h | 106 uid_t getuid(void);
|
/third_party/musl/porting/linux/user/include/ |
H A D | unistd.h | 133 uid_t getuid(void);
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | unistd.h | 131 uid_t getuid(void);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | unistd.h | 106 uid_t getuid(void);
|
/third_party/musl/src/regex/ |
H A D | glob.c | 207 : getpwuid_r(getuid(), &pw, buf, PATH_MAX, &res)) { in expand_tilde()
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | unistd.h | 111 uid_t getuid(void);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | unistd.h | 106 uid_t getuid(void);
|
/third_party/libfuse/lib/ |
H A D | mount_util.c | 71 ruid = getuid(); in mtab_needs_update()
|
/third_party/musl/include/ |
H A D | unistd.h | 170 uid_t getuid(void);
|
/third_party/toybox/porting/liteos_a/toys/net/ |
H A D | ping.c | 104 else if (TT.i<200 && getuid()) error_exit("need root for -i <200"); in ping_main()
|
/third_party/pulseaudio/src/daemon/ |
H A D | ohos_pa_main.c | 706 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 D | test_unistd.rs | 495 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 D | core-util.c | 342 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 D | test_socket.rs | 1322 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 D | configparser.c | 587 struct passwd *pwd = getpwuid(getuid()); in parse_default_config_file()
|
/third_party/libsnd/tests/ |
H A D | misc_test.c | 331 if (getuid () == 0) in permission_test()
|
/third_party/musl/porting/linux/user/src/aio/ |
H A D | aio.c | 195 .si_uid = getuid() in cleanup()
|
/third_party/musl/porting/liteos_a/user/src/aio/ |
H A D | aio.c | 195 .si_uid = getuid() in cleanup()
|
/third_party/musl/src/aio/ |
H A D | aio.c | 202 .si_uid = getuid() in cleanup()
|