Home
last modified time | relevance | path

Searched refs:geteuid (Results 1 – 25 of 55) sorted by relevance

123

/tools/testing/selftests/pidfd/
A Dpidfd_open_test.c184 if (info.euid != geteuid()) { in main()
186 geteuid(), info.euid); in main()
194 if (info.suid != geteuid()) { in main()
196 geteuid(), info.suid); in main()
A Dpidfd_fdinfo_test.c99 if (!(flags & CLONE_NEWUSER) && geteuid() != 0) in clone_newns()
/tools/testing/selftests/tc-testing/plugin-lib/
A DrootPlugin.py17 if os.geteuid():
/tools/testing/selftests/pid_namespace/
A Dregression_enomem.c26 if (geteuid()) in TEST()
/tools/perf/util/
A Dcap.c34 return geteuid() == 0; in perf_cap__capable()
A Ddata.c266 if (!data->force && st.st_uid && (st.st_uid != geteuid())) { in open_file_read()
/tools/testing/selftests/acct/
A Dacct_syscall.c26 if (geteuid()) { in main()
/tools/testing/selftests/tmpfs/
A Dbug-link-o-tmpfile.c37 if (geteuid()) { in main()
/tools/testing/selftests/powerpc/security/
A Drfi_flush.c32 SKIP_IF(geteuid() != 0); in rfi_flush_test()
A Dentry_flush.c32 SKIP_IF(geteuid() != 0); in entry_flush_test()
A Duaccess_flush.c34 SKIP_IF(geteuid() != 0); in uaccess_flush_test()
/tools/verification/rv/src/
A Drv.c176 if (geteuid()) in main()
/tools/testing/selftests/alsa/
A Dutimer-test.c43 if (geteuid()) in FIXTURE_SETUP()
A Dtest-pcmtest-driver.c129 if (geteuid()) in FIXTURE_SETUP()
/tools/power/cpupower/utils/
A Dcpupower.c215 run_as_root = !geteuid(); in main()
/tools/testing/selftests/mm/
A Dcompaction_test.c219 if (prereq() || geteuid()) in main()
/tools/testing/selftests/resctrl/
A Dresctrl_tests.c332 if (geteuid() != 0) in main()
/tools/testing/selftests/arm64/fp/
A Dvec-syscfg.c245 if (geteuid() != 0) { in proc_write_min()
280 if (geteuid() != 0) { in proc_write_max()
/tools/thermal/tmon/
A Dtmon.c224 if (geteuid() != 0) { in main()
/tools/perf/bench/
A Dsched-pipe.c160 } else if (saved_errno == EACCES && geteuid() > 0) { in enter_cgroup()
/tools/testing/selftests/uevent/
A Duevent_filtering.c355 if (geteuid()) { in TEST()
/tools/perf/arch/sparc/entry/syscalls/
A Dsyscall.tbl70 49 32 geteuid sys_geteuid16
71 49 64 geteuid sys_geteuid
/tools/perf/arch/s390/entry/syscalls/
A Dsyscall.tbl52 49 32 geteuid - sys_geteuid16
197 201 64 geteuid sys_geteuid -
/tools/testing/selftests/filesystems/binderfs/
A Dbinderfs_test.c496 if (geteuid() != 0) in TEST()
/tools/testing/selftests/filesystems/
A Dutils.c188 if (geteuid() != 0 && map_type == ID_TYPE_GID) { in write_id_mapping()

Completed in 33 milliseconds

123