projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make getmntent_r discard long lines when it returns error, not seek back
[musl]
/
src
/
linux
/
setgroups.c
diff --git
a/src/linux/setgroups.c
b/src/linux/setgroups.c
index
2368aa0
..
9758940
100644
(file)
--- a/
src/linux/setgroups.c
+++ b/
src/linux/setgroups.c
@@
-1,9
+1,7
@@
#include <unistd.h>
#include <unistd.h>
-#define SYSCALL_STANDALONE
#include "syscall.h"
#include "syscall.h"
-int setgroups(
in
t count, const gid_t list[])
+int setgroups(
size_
t count, const gid_t list[])
{
{
- /* this depends on our gid_t being 32bit */
- return syscall2(__NR_setgroups32, count, (long)list);
+ return syscall(SYS_setgroups, count, list);
}
}