projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix extremely rare but dangerous race condition in robust mutexes
[musl]
/
src
/
unistd
/
setresgid.c
diff --git
a/src/unistd/setresgid.c
b/src/unistd/setresgid.c
index
9b9fe50
..
b9af540
100644
(file)
--- a/
src/unistd/setresgid.c
+++ b/
src/unistd/setresgid.c
@@
-5,5
+5,5
@@
int setresgid(gid_t rgid, gid_t egid, gid_t sgid)
{
int setresgid(gid_t rgid, gid_t egid, gid_t sgid)
{
- return __
rsyscall(SYS_setresgid, rgid, egid, sgid, 0, 0, 0
);
+ return __
setxid(SYS_setresgid, rgid, egid, sgid
);
}
}