2018-05-02 06:20:06 +03:00
|
|
|
#include <unistd.h>
|
2018-10-31 04:28:41 +03:00
|
|
|
#include <syscall.h>
|
|
|
|
#include <syscall_nums.h>
|
2018-05-02 06:20:06 +03:00
|
|
|
|
2018-10-31 04:28:41 +03:00
|
|
|
DEFN_SYSCALL0(geteuid, SYS_GETEUID);
|
|
|
|
|
|
|
|
uid_t geteuid(void) {
|
|
|
|
return syscall_geteuid();
|
2018-05-02 06:20:06 +03:00
|
|
|
}
|