diff options
Diffstat (limited to 'libc-top-half/musl/src/unistd/setresgid.c')
-rw-r--r-- | libc-top-half/musl/src/unistd/setresgid.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/unistd/setresgid.c b/libc-top-half/musl/src/unistd/setresgid.c new file mode 100644 index 0000000..b9af540 --- /dev/null +++ b/libc-top-half/musl/src/unistd/setresgid.c @@ -0,0 +1,9 @@ +#define _GNU_SOURCE +#include <unistd.h> +#include "syscall.h" +#include "libc.h" + +int setresgid(gid_t rgid, gid_t egid, gid_t sgid) +{ + return __setxid(SYS_setresgid, rgid, egid, sgid); +} |