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