diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-11-07 01:38:51 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-11-07 01:38:51 +0100 |
commit | a7f1d892a956041a74f93ec70afb477a1d161d1d (patch) | |
tree | 7435b65cb3700f8d50b09f992b8974e68f93e886 /LibC/grp.h | |
parent | d3bd3791cb353966957ced0d208aa51107fe9ffc (diff) | |
download | serenity-a7f1d892a956041a74f93ec70afb477a1d161d1d.zip |
Add some basic setgroups(), getgroups() and initgroups().
Also teach /bin/id to print the user's supplemental groups.
Diffstat (limited to 'LibC/grp.h')
-rw-r--r-- | LibC/grp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/LibC/grp.h b/LibC/grp.h index e29d4b9545..176907baa4 100644 --- a/LibC/grp.h +++ b/LibC/grp.h @@ -18,4 +18,6 @@ void endgrent(); struct group* getgrnam(const char* name); struct group* getgrgid(gid_t); +int initgroups(const char* user, gid_t); + __END_DECLS |