summaryrefslogtreecommitdiff
path: root/src/unistd/setresuid.c
blob: 83692b4c99c5fd85ac8e0bd5e70966e1d96b2ebe (plain)
1
2
3
4
5
6
7
8
9
#define _GNU_SOURCE
#include <unistd.h>
#include "syscall.h"
#include "libc.h"

int setresuid(uid_t ruid, uid_t euid, uid_t suid)
{
	return __setxid(SYS_setresuid, ruid, euid, suid);
}