blob: 158753bea0e3d0a14d69db95f79c51c7c912c952 (
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 syscall2(__NR_setregid, rgid, egid);
}
|