blob: ff2607dc2459130eb4ac8af951a84b06c5d083a1 (
plain) (
tree)
|
|
#include <unistd.h>
#include "syscall.h"
#include "libc.h"
int setregid(gid_t rgid, gid_t egid)
{
if (libc.rsyscall) return libc.rsyscall(__NR_setregid, rgid, egid, 0, 0, 0, 0);
return syscall(SYS_setregid, rgid, egid);
}
|