projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove another invalid skip of locking in ungetwc
[oweals/musl.git]
/
src
/
unistd
/
setuid.c
diff --git
a/src/unistd/setuid.c
b/src/unistd/setuid.c
index e778c7f3c6967241bc73c728e1d43bdfa1a9d0fd..602ecbbf44b3d06b11a73196a13e9046eb217cb7 100644
(file)
--- a/
src/unistd/setuid.c
+++ b/
src/unistd/setuid.c
@@
-4,5
+4,5
@@
int setuid(uid_t uid)
{
- return __
rsyscall(SYS_setuid, uid, 0, 0, 0
, 0, 0);
+ return __
setxid(SYS_setuid, uid
, 0, 0);
}