21 lines
242 B
C
21 lines
242 B
C
#include "tests.h"
|
|
#include <asm/unistd.h>
|
|
|
|
#ifdef __NR_geteuid
|
|
|
|
# include <stdio.h>
|
|
# include <unistd.h>
|
|
|
|
int
|
|
main(void)
|
|
{
|
|
printf("geteuid() = %ld\n", syscall(__NR_geteuid));
|
|
return 0;
|
|
}
|
|
|
|
#else
|
|
|
|
SKIP_MAIN_UNDEFINED("__NR_geteuid")
|
|
|
|
#endif
|