#include #include #include #include #include #include int main(int argc, char* argv[]){ if (argc != 2){ printf("Usage: ./scanner [UID]; -1 for all users, -2 for bonus \n"); exit(1); } int myUid = atoi(argv[1]); while (myUid < -2){ printf("Try again...\n" "Usage: ./scanner [UID]; -1 for all users, -2 for bonus \n"); scanf("%d", &myUid); } printf("Calling the new system call...\n"); syscall(__NR_scanner, myUid); printf("End new system call\n"); return 1; }