Home
last modified time | relevance | path

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

12

/Linux-v4.19/tools/testing/selftests/tc-testing/plugin-lib/
DrootPlugin.py17 if os.geteuid():
/Linux-v4.19/tools/power/cpupower/utils/
Dcpupower.c211 run_as_root = !geteuid(); in main()
/Linux-v4.19/tools/perf/util/
Ddata.c73 if (!data->force && st.st_uid && (st.st_uid != geteuid())) { in open_file_read()
Dconfig.c684 if (st.st_uid && (st.st_uid != geteuid())) { in perf_config_set__init()
Dsymbol.c1545 if (!symbol_conf.force && st.st_uid && (st.st_uid != geteuid())) { in dso__load()
2087 value = ((geteuid() != 0) || (getuid() != 0)) ? in symbol__read_kptr_restrict()
/Linux-v4.19/tools/perf/arch/arm64/util/
Darm-spe.c68 bool privileged = geteuid() == 0 || perf_event_paranoid() < 0; in arm_spe_recording_options()
/Linux-v4.19/tools/thermal/tmon/
Dtmon.c239 if (geteuid() != 0) { in main()
/Linux-v4.19/tools/perf/tests/
Dbpf.c333 if (geteuid() != 0) { in test__bpf()
/Linux-v4.19/tools/testing/selftests/uevent/
Duevent_filtering.c354 if (geteuid()) { in TEST()
/Linux-v4.19/tools/perf/
Dbuiltin-ftrace.c285 if (geteuid() != 0) { in __cmd_ftrace()
/Linux-v4.19/tools/perf/arch/s390/entry/syscalls/
Dsyscall.tbl52 49 32 geteuid - compat_sys_s390_geteuid16
197 201 64 geteuid sys_geteuid -
/Linux-v4.19/arch/s390/kernel/syscalls/
Dsyscall.tbl52 49 32 geteuid - compat_sys_s390_geteuid16
197 201 64 geteuid sys_geteuid -
/Linux-v4.19/tools/perf/arch/x86/util/
Dintel-bts.c119 bool privileged = geteuid() == 0 || perf_event_paranoid() < 0; in intel_bts_recording_options()
Dintel-pt.c558 bool privileged = geteuid() == 0 || perf_event_paranoid() < 0; in intel_pt_recording_options()
/Linux-v4.19/tools/usb/usbip/src/
Dusbipd.c629 if (geteuid() != 0) in main()
/Linux-v4.19/arch/powerpc/include/asm/
Dsystbl.h56 SYSCALL_SPU(geteuid)
/Linux-v4.19/arch/parisc/kernel/
Dsyscall_table.S119 ENTRY_SAME(geteuid)
/Linux-v4.19/tools/testing/selftests/x86/
Dprotection_keys.c108 if (geteuid() != 0) { in tracing_root_ok()
808 if (geteuid() != 0) { in setup_hugetlbfs()
/Linux-v4.19/tools/perf/arch/arm/util/
Dcs-etm.c72 bool privileged = (geteuid() == 0 || perf_event_paranoid() < 0); in cs_etm_recording_options()
/Linux-v4.19/arch/x86/entry/syscalls/
Dsyscall_64.tbl118 107 common geteuid __x64_sys_geteuid
Dsyscall_32.tbl63 49 i386 geteuid sys_geteuid16 __ia32_sys_geteuid16
/Linux-v4.19/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl118 107 common geteuid __x64_sys_geteuid
/Linux-v4.19/arch/arm/tools/
Dsyscall.tbl63 49 common geteuid sys_geteuid16
/Linux-v4.19/kernel/
Dsys.c922 SYSCALL_DEFINE0(geteuid) in SYSCALL_DEFINE0() argument
/Linux-v4.19/tools/testing/selftests/seccomp/
Dseccomp_bpf.c249 if (geteuid()) { in TEST()

12