1 2 3 4 5 6 7 8
#include <sys/types.h> #include <unistd.h> int main(void) { return setresuid(-1, -1, -1) == -1; }