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