Lines Matching refs:printf
55 printf("[OK]\tiopl(3) failed (%d) -- try running as root\n", in main()
69 printf("\tchild: set IOPL to 3\n"); in main()
73 printf("[RUN]\tchild: write to 0x80\n"); in main()
81 printf("[FAIL]\tChild died\n"); in main()
84 printf("[FAIL]\tChild failed\n"); in main()
87 printf("[OK]\tChild succeeded\n"); in main()
91 printf("[RUN]\tparent: write to 0x80 (should fail)\n"); in main()
95 printf("[OK]\twrite was denied\n"); in main()
98 printf("[FAIL]\twrite was allowed\n"); in main()
103 printf("\tiopl(3)\n"); in main()
107 printf("\tDrop privileges\n"); in main()
109 printf("[WARN]\tDropping privileges failed\n"); in main()
113 printf("[RUN]\tiopl(3) unprivileged but with IOPL==3\n"); in main()
115 printf("[FAIL]\tiopl(3) should work if iopl is already 3 even if unprivileged\n"); in main()
119 printf("[RUN]\tiopl(0) unprivileged\n"); in main()
121 printf("[FAIL]\tiopl(0) should work if iopl is already 3 even if unprivileged\n"); in main()
125 printf("[RUN]\tiopl(3) unprivileged\n"); in main()
127 printf("[FAIL]\tiopl(3) should fail if when unprivileged if iopl==0\n"); in main()
130 printf("[OK]\tFailed as expected\n"); in main()