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
/
seteuid.c
blob
ef8b9df43bd7307597f3d106fe99b150f72b1cba
1
#include <unistd.h>
2
#include
"syscall.h"
3
#include
"libc.h"
4
5
int
seteuid
(
uid_t euid
)
6
{
7
return
__setxid
(
SYS_setresuid
, -
1
,
euid
, -
1
);
8
}