Sign in
android
/
platform
/
external
/
musl
/
a4e2aa7b433244951df11b7212f136e1253bdd5e
/
.
/
src
/
unistd
/
setreuid.c
blob: 3fcc59e292a7e5bef05a6af8ffad91ffacfc9ebe [
file
] [
log
] [
blame
]
#include
<unistd.h>
#include
"syscall.h"
#include
"libc.h"
int
setreuid
(
uid_t
ruid
,
uid_t
euid
)
{
return
__setxid
(
SYS_setreuid
,
ruid
,
euid
,
0
);
}