Lines Matching refs:printf

152 		printf("[FAIL]\tgetpid() failed to preserve regs\n");  in test_sys32_regs()
155 printf("[OK]\tgetpid() preserves regs\n"); in test_sys32_regs()
167 printf("[FAIL]\tkill(getpid(), SIGUSR1) failed to preserve regs\n"); in test_sys32_regs()
170 printf("[OK]\tkill(getpid(), SIGUSR1) preserves regs\n"); in test_sys32_regs()
177 printf("[RUN]\tptrace-induced syscall restart\n"); in test_ptrace_syscall_restart()
188 printf("\tChild will make one syscall\n"); in test_ptrace_syscall_restart()
203 printf("[RUN]\tSYSEMU\n"); in test_ptrace_syscall_restart()
215printf("[FAIL]\tInitial args are wrong (nr=%lu, args=%lu %lu %lu %lu %lu %lu)\n", (unsigned long)r… in test_ptrace_syscall_restart()
218 printf("[OK]\tInitial nr and args are correct\n"); in test_ptrace_syscall_restart()
221 printf("[RUN]\tRestart the syscall (ip = 0x%lx)\n", in test_ptrace_syscall_restart()
246printf("[FAIL]\tRestart nr or args are wrong (nr=%lu, args=%lu %lu %lu %lu %lu %lu)\n", (unsigned … in test_ptrace_syscall_restart()
249 printf("[OK]\tRestarted nr and args are correct\n"); in test_ptrace_syscall_restart()
252 printf("[RUN]\tChange nr and args and restart the syscall (ip = 0x%lx)\n", in test_ptrace_syscall_restart()
277printf("[FAIL]\tRestart nr or args are wrong (nr=%lu, args=%lu %lu %lu %lu %lu %lu)\n", (unsigned … in test_ptrace_syscall_restart()
280 printf("[OK]\tReplacement nr and args are correct\n"); in test_ptrace_syscall_restart()
288 printf("[FAIL]\tChild failed\n"); in test_ptrace_syscall_restart()
291 printf("[OK]\tChild exited cleanly\n"); in test_ptrace_syscall_restart()
297 printf("[RUN]\tkernel syscall restart under ptrace\n"); in test_restart_under_ptrace()
308 printf("\tChild will take a nap until signaled\n"); in test_restart_under_ptrace()
324 printf("[RUN]\tSYSCALL\n"); in test_restart_under_ptrace()
338printf("[FAIL]\tInitial args are wrong (nr=%lu, args=%lu %lu %lu %lu %lu %lu)\n", (unsigned long)r… in test_restart_under_ptrace()
341 printf("[OK]\tInitial nr and args are correct\n"); in test_restart_under_ptrace()
348 printf("[RUN]\tSYSCALL\n"); in test_restart_under_ptrace()
360printf("[FAIL]\tArgs after SIGUSR1 are wrong (nr=%lu, args=%lu %lu %lu %lu %lu %lu)\n", (unsigned … in test_restart_under_ptrace()
363 printf("[OK]\tArgs after SIGUSR1 are correct (ax = %ld)\n", in test_restart_under_ptrace()
377 printf("[FAIL]\tChild was stopped for SIGUSR1 (status = 0x%x)\n", status); in test_restart_under_ptrace()
380 printf("[OK]\tChild got SIGUSR1\n"); in test_restart_under_ptrace()
384 printf("[RUN]\tStep again\n"); in test_restart_under_ptrace()
398printf("[FAIL]\tpause did not restart (nr=%lu, args=%lu %lu %lu %lu %lu %lu)\n", (unsigned long)re… in test_restart_under_ptrace()
401 printf("[OK]\tpause(2) restarted correctly\n"); in test_restart_under_ptrace()
412 printf("[RUN]\tCheck int80 return regs\n"); in main()
418 printf("[RUN]\tCheck AT_SYSINFO return regs\n"); in main()
421 printf("[SKIP]\tAT_SYSINFO is not available\n"); in main()