Home
last modified time | relevance | path

Searched refs:PTRACE_DETACH (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/tools/testing/selftests/landlock/
H A Dptrace_test.c354 ASSERT_EQ(0, ptrace(PTRACE_DETACH, parent, NULL, 0)); in TEST_F()
400 ASSERT_EQ(0, ptrace(PTRACE_DETACH, child, NULL, 0)); in TEST_F()
403 EXPECT_EQ(-1, ptrace(PTRACE_DETACH, child, NULL, 0)); in TEST_F()
427 ASSERT_EQ(0, ptrace(PTRACE_DETACH, child, NULL, 0)); in TEST_F()
/openbmc/linux/tools/perf/arch/x86/tests/
H A Dbp-modify.c123 if (ptrace(PTRACE_DETACH, child, NULL, NULL)) { in bp_modify1()
199 if (ptrace(PTRACE_DETACH, child, NULL, NULL)) { in bp_modify2()
/openbmc/linux/include/uapi/linux/
H A Dptrace.h23 #define PTRACE_DETACH 17 macro
/openbmc/linux/tools/testing/selftests/ptrace/
H A Dvmaccess.c75 k = ptrace(PTRACE_DETACH, pid, 0L, 0L); in TEST()
/openbmc/linux/tools/testing/selftests/x86/
H A Dfsgsbase_restore.c220 if (ptrace(PTRACE_DETACH, chld, NULL, NULL) != 0) in main()
H A Dmov_ss_trap.c90 if (ptrace(PTRACE_DETACH, parent, NULL, NULL) != 0) in enable_watchpoint()
H A Dsyscall_numbering.c414 ptrace(PTRACE_DETACH, testpid, NULL, NULL); in syscall_numbering_tracer()
H A Dtest_shadow_stack.c769 if (ptrace(PTRACE_DETACH, pid, NULL, NULL)) { in test_ptrace()
H A Damx.c923 ptrace(PTRACE_DETACH, child, NULL, NULL); in test_ptrace()
/openbmc/linux/tools/testing/selftests/cgroup/
H A Dtest_freezer.c625 if (ptrace(PTRACE_DETACH, pid, NULL, NULL)) in test_cgfreezer_ptrace()
751 if (ptrace(PTRACE_DETACH, pid, NULL, NULL)) in test_cgfreezer_ptraced()
/openbmc/linux/kernel/
H A Dptrace.c605 proc_ptrace_connector(child, PTRACE_DETACH); in ptrace_detach()
1179 case PTRACE_DETACH: /* detach a process that was attached. */ in ptrace_request()
1306 if (ret || request != PTRACE_DETACH) in SYSCALL_DEFINE4()
1443 if (ret || request != PTRACE_DETACH) in COMPAT_SYSCALL_DEFINE4()
/openbmc/linux/arch/powerpc/kernel/ptrace/
H A Dptrace32.c289 case PTRACE_DETACH: in compat_arch_ptrace()
/openbmc/linux/arch/sparc/kernel/
H A Dptrace_32.c428 request = PTRACE_DETACH; in arch_ptrace()
H A Dptrace_64.c996 request = PTRACE_DETACH; in compat_arch_ptrace()
1077 request = PTRACE_DETACH; in arch_ptrace()
/openbmc/linux/drivers/connector/
H A Dcn_proc.c252 } else if (ptrace_id == PTRACE_DETACH) { in proc_ptrace_connector()
/openbmc/linux/tools/testing/selftests/powerpc/ptrace/
H A Dptrace.h85 ret = ptrace(PTRACE_DETACH, child, NULL, NULL); in stop_trace()
/openbmc/linux/tools/testing/selftests/mm/
H A Dprotection_keys.c1438 ret = ptrace(PTRACE_DETACH, child_pid, ignored, 0); in test_ptrace_of_child()