summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-09-18 01:53:15 +0200
committerLennart Poettering <lennart@poettering.net>2012-09-18 01:53:15 +0200
commit901c3d0d85628e6a4708bc9748766029cf5c7f97 (patch)
tree5ae17d1b8a2451cebc081c4a5ded25a66beec7c8 /src/shared/util.h
parente2417e4143bb892e4599b01de7b031763421bb64 (diff)
util: introduce get_process_gid()
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index 71b5c52c41..2429339f5b 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -246,6 +246,7 @@ 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);
+int get_process_gid(pid_t pid, gid_t *gid);
char hexchar(int x);
int unhexchar(char c);