Home
last modified time | relevance | path

Searched refs:getuid (Results 176 - 200 of 427) sorted by relevance

12345678910>>...18

/kernel/linux/linux-6.6/tools/testing/selftests/ipc/
H A Dmsgque.c200 if (getuid() != 0) in main()
/third_party/mesa3d/src/util/
H A Du_debug.h430 if (geteuid() != getuid()) in __check_suid()
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/ltp/testcases/kernel/sched/tool/
H A Dtrace_sched.c310 if (getuid() != 0) { in main()
/third_party/ltp/testcases/kernel/pty/
H A Dpty01.c93 if (st.st_uid != getuid()) { in test1()
/third_party/ltp/utils/sctp/func_tests/
H A Dtest_1_to_1_socket_bind_listen.c197 uid = getuid(); in main()
/third_party/toybox/
H A Dmain.c118 uid_t uid = getuid(), euid = geteuid(); in toy_init()
/third_party/toybox/porting/liteos_a/
H A Dmain.c119 uid_t uid = getuid(), euid = geteuid(); in toy_init()
/third_party/pulseaudio/src/modules/x11/
H A Dmodule-x11-publish.c174 u->id = pa_sprintf_malloc("%lu@%s/%lu", (unsigned long) getuid(), mid, (unsigned long) getpid()); in pa__init()
/third_party/ntfs-3g/ntfsprogs/
H A Dntfssecaudit.c2435 if (!getuid()) { in dorestore()
4002 uid = getuid(); in proposal()
4735 if (!getuid() && open_security_api()) { in backup()
4755 if (getuid()) in backup()
4774 if (!getuid() && open_security_api()) { in listfiles()
4799 if (getuid()) in listfiles()
4818 if (!getuid() && open_security_api()) { in mapproposal()
4843 if (getuid()) in mapproposal()
5545 if (!getuid() && open_security_api()) { in audit()
5564 if (getuid()) in audit()
[all...]
/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...]
/kernel/linux/linux-5.10/tools/testing/selftests/capabilities/
H A Dtest_execve.c96 outer_uid = getuid(); in create_and_enter_ns()
/kernel/linux/linux-5.10/tools/testing/selftests/clone3/
H A Dclone3_set_tid.c154 uid_t uid = getuid(); in main()
/kernel/linux/linux-5.10/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c159 uid = getuid(); in create_and_enter_userns()
/kernel/linux/linux-5.10/tools/testing/selftests/mqueue/
H A Dmq_open_tests.c267 if (getuid() != 0) in main()
/kernel/linux/linux-6.6/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c159 uid = getuid(); in create_and_enter_userns()
/kernel/linux/linux-6.6/tools/testing/selftests/mqueue/
H A Dmq_open_tests.c267 if (getuid() != 0) in main()
/kernel/linux/linux-6.6/tools/power/acpi/tools/pfrut/
H A Dpfrut.c207 if (getuid() != 0) { in main()
/kernel/linux/linux-6.6/tools/testing/selftests/capabilities/
H A Dtest_execve.c96 outer_uid = getuid(); in create_and_enter_ns()
/kernel/linux/linux-6.6/tools/testing/selftests/clone3/
H A Dclone3_set_tid.c154 uid_t uid = getuid(); in main()
/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();
/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);

Completed in 25 milliseconds

12345678910>>...18