1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include <stdio.h> int main(void) { FILE *f; f = fopen("/home/crobbins/", "r"); if (f) { printf("Ok\n"); fclose(f); } else perror("Error: "); return 0; }
1
Disallowed system call: SYS_dup