9 lines
148 B
C
9 lines
148 B
C
|
#include <unistd.h>
|
||
|
#include "syscall.h"
|
||
|
#include "libc.h"
|
||
|
|
||
|
int setreuid(uid_t ruid, uid_t euid)
|
||
|
{
|
||
|
return __setxid(SYS_setreuid, ruid, euid, 0);
|
||
|
}
|