diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-10-06 15:44:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-06 15:44:27 +0200 |
commit | e057995bb1314a94ce460d8e5a2a20e73c0e2ad4 (patch) | |
tree | 6ca280b3a1526e61c9fed7b87854e2ba0ddb80c8 /src/basic/user-util.h | |
parent | 94f42fe3a68129fc5d30fc0ee2094c3052ea782b (diff) | |
parent | 36d854780c01d589e5da1fc6e94f46aa41f7016f (diff) |
Merge pull request #4280 from giuseppe/unprivileged-user
[RFC] run systemd in an unprivileged container
Diffstat (limited to 'src/basic/user-util.h')
-rw-r--r-- | src/basic/user-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/user-util.h b/src/basic/user-util.h index 6c61f63cae..dfea561bde 100644 --- a/src/basic/user-util.h +++ b/src/basic/user-util.h @@ -86,3 +86,5 @@ bool valid_user_group_name(const char *u); bool valid_user_group_name_or_id(const char *u); bool valid_gecos(const char *d); bool valid_home(const char *p); + +int maybe_setgroups(size_t size, const gid_t *list); |