Rich Felker | 1db283b | 2011-04-03 16:20:57 -0400 | [diff] [blame] | 1 | #define _GNU_SOURCE |
2 | #include <unistd.h> | ||||
3 | #include "syscall.h" | ||||
4 | #include "libc.h" | ||||
5 | |||||
6 | int setresgid(gid_t rgid, gid_t egid, gid_t sgid) | ||||
7 | { | ||||
Rich Felker | acb0480 | 2011-07-29 22:59:44 -0400 | [diff] [blame] | 8 | return __setxid(SYS_setresgid, rgid, egid, sgid); |
Rich Felker | 1db283b | 2011-04-03 16:20:57 -0400 | [diff] [blame] | 9 | } |