repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
move msghdr and cmsghdr out of bits/socket.h
[musl.git]
/
src
/
unistd
/
setreuid.c
blob
3fcc59e292a7e5bef05a6af8ffad91ffacfc9ebe
1
#include <unistd.h>
2
#include
"syscall.h"
3
#include
"libc.h"
4
5
int
setreuid
(
uid_t ruid
,
uid_t euid
)
6
{
7
return
__setxid
(
SYS_setreuid
,
ruid
,
euid
,
0
);
8
}