/openbmc/linux/tools/testing/selftests/landlock/ |
H A D | ptrace_test.c | 354 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 D | bp-modify.c | 123 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 D | ptrace.h | 23 #define PTRACE_DETACH 17 macro
|
/openbmc/linux/tools/testing/selftests/ptrace/ |
H A D | vmaccess.c | 75 k = ptrace(PTRACE_DETACH, pid, 0L, 0L); in TEST()
|
/openbmc/linux/tools/testing/selftests/x86/ |
H A D | fsgsbase_restore.c | 220 if (ptrace(PTRACE_DETACH, chld, NULL, NULL) != 0) in main()
|
H A D | mov_ss_trap.c | 90 if (ptrace(PTRACE_DETACH, parent, NULL, NULL) != 0) in enable_watchpoint()
|
H A D | syscall_numbering.c | 414 ptrace(PTRACE_DETACH, testpid, NULL, NULL); in syscall_numbering_tracer()
|
H A D | test_shadow_stack.c | 769 if (ptrace(PTRACE_DETACH, pid, NULL, NULL)) { in test_ptrace()
|
H A D | amx.c | 923 ptrace(PTRACE_DETACH, child, NULL, NULL); in test_ptrace()
|
/openbmc/linux/tools/testing/selftests/cgroup/ |
H A D | test_freezer.c | 625 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 D | ptrace.c | 605 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 D | ptrace32.c | 289 case PTRACE_DETACH: in compat_arch_ptrace()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | ptrace_32.c | 428 request = PTRACE_DETACH; in arch_ptrace()
|
H A D | ptrace_64.c | 996 request = PTRACE_DETACH; in compat_arch_ptrace() 1077 request = PTRACE_DETACH; in arch_ptrace()
|
/openbmc/linux/drivers/connector/ |
H A D | cn_proc.c | 252 } else if (ptrace_id == PTRACE_DETACH) { in proc_ptrace_connector()
|
/openbmc/linux/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace.h | 85 ret = ptrace(PTRACE_DETACH, child, NULL, NULL); in stop_trace()
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | protection_keys.c | 1438 ret = ptrace(PTRACE_DETACH, child_pid, ignored, 0); in test_ptrace_of_child()
|