projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add legacy sys/ttydefaults.h header
[oweals/musl.git]
/
src
/
unistd
/
setuid.c
1
#include <unistd.h>
2
#include "syscall.h"
3
#include "libc.h"
4
5
int setuid(uid_t uid)
6
{
7
return __setxid(SYS_setuid, uid, 0, 0);
8
}