about summary refs log tree commit diff
path: root/src/unistd/setreuid.c
blob: d926454a97dba5e48cb851865ebe1a11e5fdc5d0 (plain) (blame)
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(__NR_setreuid, ruid, euid, 0, 0, 0, 0);
}