1 #include "tests.h" 2 #include <asm/unistd.h> 3 4 #ifdef __NR_geteuid 5 6 # include <stdio.h> 7 # include <unistd.h> 8 9 int main(void)10 main(void) 11 { 12 printf("geteuid() = %ld\n", syscall(__NR_geteuid)); 13 return 0; 14 } 15 16 #else 17 18 SKIP_MAIN_UNDEFINED("__NR_geteuid") 19 20 #endif 21