summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-03-14 19:54:22 +0100
committerLennart Poettering <lennart@poettering.net>2012-03-14 19:54:22 +0100
commit4367379907f40cbe7df6a64e51c36f34dd854197 (patch)
treeefe65c0b74d10f0b98a6c1638890c35a78023c07 /src/util.h
parent18da49531e4c6b31bd2439b4d738dc1bb9660af1 (diff)
journalctl: warn if the user is not in the adm group
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 890a3b5d46..b1af6dbe7c 100644
--- a/src/util.h
+++ b/src/util.h
@@ -466,6 +466,8 @@ int socket_from_display(const char *display, char **path);
int get_user_creds(const char **username, uid_t *uid, gid_t *gid, const char **home);
int get_group_creds(const char **groupname, gid_t *gid);
+int in_group(const char *name);
+
int glob_exists(const char *path);
int dirent_ensure_type(DIR *d, struct dirent *de);