Index: fusl/src/unistd/setresgid.c |
diff --git a/fusl/src/unistd/setresgid.c b/fusl/src/unistd/setresgid.c |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b9af540af2e66516b5105cbb694b9d4a7c3645af |
--- /dev/null |
+++ b/fusl/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); |
+} |