Home
last modified time | relevance | path

Searched refs:getuid (Results 1 – 25 of 60) sorted by relevance

123

/linux-6.12.1/tools/testing/selftests/mm/
Don-fault-limit.c36 if (!getuid()) in main()
Dgup_test.c219 if (getuid()) in main()
/linux-6.12.1/tools/testing/selftests/media_tests/
Dmedia_device_open.c66 if (getuid() != 0) in main()
Dmedia_device_test.c71 if (getuid() != 0) in main()
/linux-6.12.1/tools/testing/selftests/user_events/
Duser_events_selftests.h69 if (getuid() != 0) { in user_events_enabled()
/linux-6.12.1/tools/thermal/tmon/
Dtmon.c128 syslog(LOG_NOTICE, "TMON started by User %d", getuid()); in start_syslog()
160 if (logstat.st_uid != getuid()) { in prepare_logging()
/linux-6.12.1/tools/testing/selftests/ring-buffer/
Dmap_test.c144 if (getuid() != 0) in FIXTURE_SETUP()
267 if (getuid() != 0) in FIXTURE_SETUP()
/linux-6.12.1/tools/testing/selftests/safesetid/
Dsafesetid-test.c240 uid = getuid(); in test_userns()
279 if (getuid() == child_uid) in test_setuid()
/linux-6.12.1/tools/testing/selftests/clone3/
Dclone3_cap_checkpoint_restore.c143 EXPECT_EQ(getuid(), 0) in TEST()
Dclone3.c138 if (getuid() != 0) { in not_root()
Dclone3_set_tid.c149 uid_t uid = getuid(); in main()
/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_bpftool.py69 if os.getuid() != 0:
/linux-6.12.1/tools/testing/selftests/breakpoints/
Dstep_after_suspend_test.c137 if (getuid() != 0) in suspend()
/linux-6.12.1/tools/testing/selftests/net/af_unix/
Ddiag_uid.c131 ASSERT_EQ(uid, getuid()); in render_response()
/linux-6.12.1/tools/testing/selftests/mount/
Dnosymfollow-test.c96 uid_t uid = getuid(); in create_and_enter_ns()
Dunprivileged-remount-test.c159 uid = getuid(); in create_and_enter_userns()
/linux-6.12.1/tools/testing/selftests/pidfd/
Dpidfd_getfd_test.c191 uid = getuid(); in TEST_F()
/linux-6.12.1/tools/testing/selftests/ipc/
Dmsgque.c200 if (getuid() != 0) in main()
/linux-6.12.1/tools/testing/selftests/move_mount_set_group/
Dmove_mount_set_group_test.c82 uid = getuid(); in create_and_enter_userns()
/linux-6.12.1/tools/power/acpi/tools/pfrut/
Dpfrut.c209 if (getuid() != 0) { in main()
/linux-6.12.1/tools/testing/selftests/filesystems/statmount/
Dstatmount_test_ns.c136 uid_t uid = getuid(); in setup_namespace()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dbpf_obj_id.c32 uid_t my_uid = getuid(); in serial_test_bpf_obj_id()
/linux-6.12.1/tools/testing/selftests/mqueue/
Dmq_open_tests.c267 if (getuid() != 0) in main()
/linux-6.12.1/tools/testing/selftests/capabilities/
Dtest_execve.c88 outer_uid = getuid(); in create_and_enter_ns()
/linux-6.12.1/arch/sparc/kernel/syscalls/
Dsyscall.tbl39 24 32 getuid sys_getuid16
40 24 64 getuid sys_getuid

123