Szabolcs Nagy | 5717444 | 2013-12-12 05:09:18 +0000 | [diff] [blame] | 1 | #define _GNU_SOURCE |
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 2 | #include <unistd.h> |
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 3 | #include "syscall.h" |
4 | |||||
Rich Felker | 3f44f29 | 2011-04-13 09:03:22 -0400 | [diff] [blame] | 5 | int setgroups(size_t count, const gid_t list[]) |
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 6 | { |
Rich Felker | aa398f5 | 2011-03-20 00:16:43 -0400 | [diff] [blame] | 7 | return syscall(SYS_setgroups, count, list); |
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 8 | } |