/kernel/linux/linux-5.10/tools/power/pm-graph/ |
H A D | bootgraph.py | 1095 os.getuid() == 0 and 'SUDO_USER' in os.environ:
|
/kernel/linux/linux-6.6/tools/testing/selftests/mount_setattr/ |
H A D | mount_setattr_test.c | 194 uid = getuid(); in create_and_enter_userns()
|
/kernel/linux/linux-6.6/tools/power/pm-graph/ |
H A D | bootgraph.py | 1097 os.getuid() == 0 and 'SUDO_USER' in os.environ:
|
/third_party/eudev/src/udev/ |
H A D | udevd.c | 1160 if (getuid() != 0) { in main()
|
/third_party/f2fs-tools/lib/ |
H A D | libf2fs.c | 705 c.root_uid = getuid(); in f2fs_init_configuration()
|
/third_party/backends/tools/ |
H A D | sane-find-scanner.c | 2100 if (getuid ()) in main()
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_meta.c | 458 getpwuid_r(getuid(), &pwd, path2, PATH_MAX - strlen(suffix2), &result); in radv_builtin_cache_path()
|
/third_party/python/Lib/test/ |
H A D | test_posixpath.py | 294 home = pwd.getpwuid(os.getuid()).pw_dir 301 # the password database (pwd.getuid() or pwd.getpwnam() fail),
|
/third_party/python/Mac/BuildScript/ |
H A D | build-installer.py | 1758 fp.write("# By: %s\n" % pwd.getpwuid(os.getuid()).pw_gecos)
|
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/ |
H A D | syscalls.rs | 1314 && crate::process::getuid() == crate::process::geteuid()
|
/third_party/ntfs-3g/libntfs-3g/ |
H A D | security.c | 5344 if (!mnt && !(mntflag & NTFS_MF_MOUNTED) && !getuid()) { in ntfs_initialize_file_security() 5355 scx->uid = getuid(); in ntfs_initialize_file_security() 5371 if (getuid()) in ntfs_initialize_file_security()
|
/third_party/ntfs-3g/src/ |
H A D | lowntfs-3g.c | 4296 .uid = getuid(), 4625 if ((getuid() != geteuid()) || (getgid() != getegid())) { 4721 if (getuid() && ctx->blkdev) {
|
/third_party/backends/backend/ |
H A D | hp-option.c | 2160 pw = getpwuid (getuid ()); /* Look if we can find our home directory */ in get_home_dir() 2503 pw = getpwuid (getuid ()); /* Look if we can find our home directory */ in _program_calibrate()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_offload.py | 764 skip(os.getuid() != 0, "test must be run as root")
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_offload.py | 764 skip(os.getuid() != 0, "test must be run as root")
|
/kernel/linux/linux-6.6/tools/testing/selftests/nolibc/ |
H A D | nolibc-test.c | 632 CASE_TEST(auxv_AT_UID); EXPECT_EQ(1, getauxval(AT_UID), getuid()); break; in run_startup()
|
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_direct.c | 2119 rec->ipc_key += getuid();
|
/third_party/ntfs-3g/libfuse-lite/ |
H A D | fuse_lowlevel.c | 1453 f->owner = getuid(); in fuse_lowlevel_new()
|
/third_party/lwip/src/netif/ppp/ |
H A D | auth.c | 432 if (seteuid(getuid()) == -1) {
|
/third_party/mksh/ |
H A D | main.c | 456 kshuid = getuid(); in main_init()
|
/third_party/rust/crates/libc/src/vxworks/ |
H A D | mod.rs | 1731 pub fn getuid() -> ::uid_t; in getuid() functions
|
/third_party/rust/crates/libc/src/unix/ |
H A D | mod.rs | 905 pub fn getuid() -> uid_t; in getuid() functions
|
/third_party/rust/crates/nix/src/sys/socket/ |
H A D | mod.rs | 394 uid: libc::getuid(), in new()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | protocol-native.c | 2473 if (creds->uid == getuid()) in command_auth() 2545 if (!(creds = pa_pdispatch_creds(pd)) || getuid() != creds->uid) in command_auth() 2584 ucred.uid = getuid(); in command_auth()
|
/kernel/linux/linux-5.10/kernel/ |
H A D | sys.c | 945 SYSCALL_DEFINE0(getuid) in SYSCALL_DEFINE0()
|