Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
e69608700fa5a6920b3c8ba9951f43f5d4ec0eaa
/
.
/
src
/
unistd
/
setegid.c
blob: e6da2573c0d4586bc74caeabc4ab5adea4dd09a5 [
file
] [
log
] [
blame
]
#include
<unistd.h>
#include
"libc.h"
#include
"syscall.h"
int
setegid
(
gid_t
egid
)
{
return
__setxid
(
SYS_setresgid
,
-
1
,
egid
,
-
1
);
}