diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-03-14 19:54:22 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-03-14 19:54:22 +0100 |
commit | 4367379907f40cbe7df6a64e51c36f34dd854197 (patch) | |
tree | efe65c0b74d10f0b98a6c1638890c35a78023c07 /src/util.h | |
parent | 18da49531e4c6b31bd2439b4d738dc1bb9660af1 (diff) |
journalctl: warn if the user is not in the adm group
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 2 |
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); |