Home
last modified time | relevance | path

Searched refs:run_as_root (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/tools/power/cpupower/utils/
Dcpupower.c33 int run_as_root; variable
210 run_as_root = !geteuid(); in main()
211 if (run_as_root) { in main()
225 if (!run_as_root && p->needs_root) { in main()
Dcpupower-info.c79 if (!run_as_root) { in cmd_info()
/kernel/linux/linux-5.10/tools/power/cpupower/utils/helpers/
Dhelpers.h35 extern int run_as_root;
/kernel/linux/linux-5.10/tools/power/cpupower/utils/idle_monitor/
Dcpupower-monitor.c413 if (test_mon->flags.needs_root && !run_as_root) { in cmd_monitor()