Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
6651ef1f060738ee1f50cac1fe6d8ce64c359022
/
.
/
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
);
}