diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2022-10-29 19:21:12 +0200 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2023-02-05 00:24:13 +0100 |
commit | e3481a9846ef01bb27c169b71eafeee704e10c68 (patch) | |
tree | 47e5003f85875872813677895b7fa298d14af269 /Process.h | |
parent | 8ea144df7494bad0c46d3bf4f16c9a6556c500d2 (diff) |
Linux: highlight username if process has elevated privileges
Highlight processes started from binaries with file capabilities set,
like kwin_wayland, or retaining Linux capabilities, via the ambient set,
after switching from the root user, e.g. rtkit.
Diffstat (limited to 'Process.h')
-rw-r--r-- | Process.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -151,6 +151,13 @@ typedef struct Process_ { /* User name */ const char* user; + /* Non root owned process with elevated privileges + * Linux: + * - from file capabilities + * - inherited from the ambient set + */ + bool elevated_priv; + /* Process runtime (in hundredth of a second) */ unsigned long long int time; |