Home
last modified time | relevance | path

Searched refs:WIFSTOPPED (Results 1 - 25 of 41) sorted by relevance

12

/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-perf-hwbreak.c205 FAIL_IF_MSG(!WIFSTOPPED(status), "Child is not stopped"); in ptrace_fork_child()
263 FAIL_IF_MSG(!WIFSTOPPED(status), "Child is not stopped"); in same_watch_addr_test()
278 FAIL_IF_MSG(!WIFSTOPPED(status), "Child is not stopped"); in same_watch_addr_test()
296 FAIL_IF_MSG(!WIFSTOPPED(status), "Child is not stopped"); in same_watch_addr_test()
306 FAIL_IF_MSG(!WIFSTOPPED(status), "Child is not stopped"); in same_watch_addr_test()
321 FAIL_IF_MSG(!WIFSTOPPED(status), "Child is not stopped"); in same_watch_addr_test()
339 FAIL_IF_MSG(!WIFSTOPPED(status), "Child is not stopped"); in same_watch_addr_test()
354 FAIL_IF_MSG(!WIFSTOPPED(status), "Child is not stopped"); in same_watch_addr_test()
423 FAIL_IF_MSG(!WIFSTOPPED(status), "Child is not stopped"); in perf_then_ptrace_test()
H A Dptrace-syscall.c88 if (waitpid(chld, &status, 0) != chld || !WIFSTOPPED(status)) in test_ptrace_syscall_restart()
/kernel/linux/linux-5.10/arch/um/os-Linux/
H A Dstart_up.c108 if (!WIFSTOPPED(status) || (WSTOPSIG(status) != SIGSTOP)) in start_ptraced_child()
179 if (!WIFSTOPPED(status) || (WSTOPSIG(status) != SIGTRAP)) in check_sysemu()
220 if (WIFSTOPPED(status) && in check_sysemu()
234 else if (WIFSTOPPED(status) && (WSTOPSIG(status) == SIGTRAP)) in check_sysemu()
278 if (!WIFSTOPPED(status) || in check_ptrace()
/kernel/linux/linux-6.6/arch/um/os-Linux/
H A Dstart_up.c108 if (!WIFSTOPPED(status) || (WSTOPSIG(status) != SIGSTOP)) in start_ptraced_child()
179 if (!WIFSTOPPED(status) || (WSTOPSIG(status) != SIGTRAP)) in check_sysemu()
220 if (WIFSTOPPED(status) && in check_sysemu()
234 else if (WIFSTOPPED(status) && (WSTOPSIG(status) == SIGTRAP)) in check_sysemu()
278 if (!WIFSTOPPED(status) || in check_ptrace()
/kernel/linux/linux-6.6/tools/testing/selftests/landlock/
H A Dptrace_test.c353 ASSERT_EQ(1, WIFSTOPPED(status)); in TEST_F()
399 ASSERT_EQ(1, WIFSTOPPED(status)); in TEST_F()
426 ASSERT_EQ(1, WIFSTOPPED(status)); in TEST_F()
/kernel/linux/linux-5.10/arch/um/os-Linux/skas/
H A Dprocess.c62 if ((n < 0) || !WIFSTOPPED(status)) in wait_stub_done()
160 if ((err < 0) || !WIFSTOPPED(status) || in handle_trap()
305 } while (WIFSTOPPED(status) && (WSTOPSIG(status) == SIGALRM)); in start_userspace()
307 if (!WIFSTOPPED(status) || (WSTOPSIG(status) != SIGSTOP)) { in start_userspace()
404 if (WIFSTOPPED(status)) { in userspace()
/kernel/linux/linux-6.6/arch/um/os-Linux/skas/
H A Dprocess.c113 if ((n < 0) || !WIFSTOPPED(status)) in wait_stub_done()
210 if ((err < 0) || !WIFSTOPPED(status) || in handle_trap()
349 } while (WIFSTOPPED(status) && (WSTOPSIG(status) == SIGALRM)); in start_userspace()
351 if (!WIFSTOPPED(status) || (WSTOPSIG(status) != SIGSTOP)) { in start_userspace()
448 if (WIFSTOPPED(status)) { in userspace()
/kernel/linux/linux-5.10/tools/testing/selftests/x86/
H A Dfsgsbase_restore.c185 if (waitpid(chld, &status, 0) != chld || !WIFSTOPPED(status)) in main()
214 if (waitpid(chld, &status, 0) != chld || !WIFSTOPPED(status)) in main()
H A Dptrace_syscall.c198 if (waitpid(chld, &status, 0) != chld || !WIFSTOPPED(status)) in test_ptrace_syscall_restart()
319 if (waitpid(chld, &status, 0) != chld || !WIFSTOPPED(status)) in test_restart_under_ptrace()
376 if (!WIFSTOPPED(status)) { in test_restart_under_ptrace()
H A Dtest_syscall_vdso.c364 if (pid <= 0 || !WIFSTOPPED(status)) /* paranoia */ in ptrace_me()
/kernel/linux/linux-5.10/tools/testing/selftests/breakpoints/
H A Dbreakpoint_test_arm64.c133 if (!WIFSTOPPED(status)) { in run_test()
165 if (!WIFSTOPPED(status)) { in run_test()
H A Dstep_after_suspend_test.c68 if (!WIFSTOPPED(status)) { in run_test()
100 if (!WIFSTOPPED(status)) { in run_test()
/kernel/linux/linux-6.6/tools/testing/selftests/breakpoints/
H A Dbreakpoint_test_arm64.c133 if (!WIFSTOPPED(status)) { in run_test()
165 if (!WIFSTOPPED(status)) { in run_test()
H A Dstep_after_suspend_test.c68 if (!WIFSTOPPED(status)) { in run_test()
100 if (!WIFSTOPPED(status)) { in run_test()
/kernel/linux/linux-6.6/tools/testing/selftests/x86/
H A Dfsgsbase_restore.c185 if (waitpid(chld, &status, 0) != chld || !WIFSTOPPED(status)) in main()
214 if (waitpid(chld, &status, 0) != chld || !WIFSTOPPED(status)) in main()
H A Dptrace_syscall.c198 if (waitpid(chld, &status, 0) != chld || !WIFSTOPPED(status)) in test_ptrace_syscall_restart()
319 if (waitpid(chld, &status, 0) != chld || !WIFSTOPPED(status)) in test_restart_under_ptrace()
376 if (!WIFSTOPPED(status)) { in test_restart_under_ptrace()
/kernel/linux/linux-5.10/tools/testing/selftests/ptrace/
H A Dvmaccess.c73 ASSERT_EQ(WIFSTOPPED(s), 1); in TEST()
H A Dget_syscall_info.c141 ASSERT_TRUE(WIFSTOPPED(status)) { in TEST() function
/kernel/linux/linux-6.6/tools/testing/selftests/ptrace/
H A Dvmaccess.c73 ASSERT_EQ(WIFSTOPPED(s), 1); in TEST()
H A Dget_syscall_info.c141 ASSERT_TRUE(WIFSTOPPED(status)) { in TEST() function
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/fp/
H A Dsve-ptrace.c170 ksft_test_result(WIFSTOPPED(status), "WIFSTOPPED(%d)\n", in do_parent()
172 if (!WIFSTOPPED(status)) in do_parent()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-syscall.c88 if (waitpid(chld, &status, 0) != chld || !WIFSTOPPED(status)) in test_ptrace_syscall_restart()
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Dmemfd_secret.c129 if ((ret != ppid) || !(WIFSTOPPED(status))) { in try_ptrace()
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/abi/
H A Dptrace.c201 if (!WIFSTOPPED(status)) in do_parent()
/kernel/linux/linux-6.6/tools/testing/selftests/proc/
H A Dproc-empty-vm.c401 assert(WIFSTOPPED(wstatus)); in main()

Completed in 13 milliseconds

12