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
/
setregid.c
diff --git
a/src/unistd/setregid.c
b/src/unistd/setregid.c
index 665b55569d73247f5283112121fd9ee8db9c1b1c..f5a8972ae4f509ed80d946ef74c3603bcfd0ca34 100644
(file)
--- a/
src/unistd/setregid.c
+++ b/
src/unistd/setregid.c
@@
-4,5
+4,5
@@
int setregid(gid_t rgid, gid_t egid)
{
- return __
rsyscall(SYS_setregid, rgid, egid, 0, 0, 0
, 0);
+ return __
setxid(SYS_setregid, rgid, egid
, 0);
}