github.com/SamWhited/moby@v1.13.1/contrib/syscall-test/setuid.c (about) 1 #include <sys/types.h> 2 #include <unistd.h> 3 #include <stdio.h> 4 5 int main() { 6 if (setuid(1) == -1) { 7 perror("setuid"); 8 return 1; 9 } 10 return 0; 11 }