mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:27:45 +00:00
Add some basic setgroups(), getgroups() and initgroups().
Also teach /bin/id to print the user's supplemental groups.
This commit is contained in:
parent
d3bd3791cb
commit
a7f1d892a9
12 changed files with 167 additions and 19 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue