diff options
author | netblue30 <netblue30@yahoo.com> | 2016-11-11 08:57:44 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-11-11 08:57:44 -0500 |
commit | 672fa03d65e8ffe0cca6e79d374caf0bf9988d20 (patch) | |
tree | 3363685b06fc627f35c03cce80350ae823c412e5 /src/firemon/cpu.c | |
parent | testing (diff) | |
download | firejail-672fa03d65e8ffe0cca6e79d374caf0bf9988d20.tar.gz firejail-672fa03d65e8ffe0cca6e79d374caf0bf9988d20.tar.zst firejail-672fa03d65e8ffe0cca6e79d374caf0bf9988d20.zip |
hidepid part 1
Diffstat (limited to 'src/firemon/cpu.c')
-rw-r--r-- | src/firemon/cpu.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/firemon/cpu.c b/src/firemon/cpu.c index 06658f58c..20fba33d6 100644 --- a/src/firemon/cpu.c +++ b/src/firemon/cpu.c | |||
@@ -49,9 +49,6 @@ static void print_cpu(int pid) { | |||
49 | } | 49 | } |
50 | 50 | ||
51 | void cpu(pid_t pid) { | 51 | void cpu(pid_t pid) { |
52 | if (getuid() == 0) | ||
53 | firemon_drop_privs(); | ||
54 | |||
55 | pid_read(pid); | 52 | pid_read(pid); |
56 | 53 | ||
57 | // print processes | 54 | // print processes |