diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-01-10 04:20:55 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-01-10 05:03:59 +0100 |
commit | 7e4ab3c5a6295193d0c58d353b6430265d842f34 (patch) | |
tree | a9b55f1b94241510f379f46ab13541e87eb0519d /src/util.h | |
parent | 6bd9fe5a734893262f2932a8e1fcfe05796f0105 (diff) |
shutdown: exclude processes with argv[0][0] from killing
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h index be05cc8734..8de608fe02 100644 --- a/src/util.h +++ b/src/util.h @@ -251,6 +251,7 @@ int rmdir_parents(const char *path, const char *stop); int get_process_comm(pid_t pid, char **name); int get_process_cmdline(pid_t pid, size_t max_length, bool comm_fallback, char **line); int get_process_exe(pid_t pid, char **name); +int get_process_uid(pid_t pid, uid_t *uid); char hexchar(int x); int unhexchar(char c); |