summaryrefslogtreecommitdiff
path: root/src/unistd/setreuid.c
blob: 93d68c03828686a37b775d02056cea8a5a8d45b6 (plain)
1
2
3
4
5
6
7
8
#include <unistd.h>
#include "syscall.h"
#include "libc.h"

int setreuid(uid_t ruid, uid_t euid)
{
	return __rsyscall(SYS_setreuid, ruid, euid, 0, 0, 0, 0);
}