projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
switch to using trap number 31 for syscalls on sh
[oweals/musl.git]
/
src
/
unistd
/
setegid.c
1
#include <unistd.h>
2
#include "libc.h"
3
#include "syscall.h"
4
5
int setegid(gid_t egid)
6
{
7
return __setxid(SYS_setresgid, -1, egid, -1);
8
}