Searched refs:PTRACE_FORK (Results 1 - 8 of 8) sorted by relevance

/freebsd-current/sys/sys/
H A Dptrace.h97 #define PTRACE_FORK 0x0008 macro
/freebsd-current/sys/compat/linux/
H A Dlinux_ptrace.c205 mask |= PTRACE_FORK;
/freebsd-current/sys/kern/
H A Dsys_process.c1128 p->p_ptevents & PTRACE_FORK ? "enabled" : "disabled",
1131 p->p_ptevents |= PTRACE_FORK;
1133 p->p_ptevents &= ~PTRACE_FORK;
1163 PTRACE_FORK | PTRACE_LWP | PTRACE_VFORK)) != 0) {
H A Dkern_fork.c750 * Speculative check for PTRACE_FORK. PTRACE_FORK is not
754 if ((p1->p_ptevents & PTRACE_FORK) != 0) {
763 if ((p1->p_ptevents & PTRACE_FORK) != 0) {
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/
H A DNativeProcessNetBSD.cpp285 assert(pst.pe_report_event == PTRACE_FORK ||
994 events.pe_set_event |= PTRACE_LWP_CREATE | PTRACE_LWP_EXIT | PTRACE_FORK |
/freebsd-current/contrib/netbsd-tests/kernel/
H A Dt_ptrace_wait.c1026 "Verify that PTRACE_FORK in EVENT_MASK is preserved");
1059 set_event.pe_set_event = PTRACE_FORK;
1305 "set to PTRACE_FORK");
1351 printf("Enable PTRACE_FORK in EVENT_MASK for the child %d\n", child);
1352 event.pe_set_event = PTRACE_FORK;
1365 ATF_REQUIRE_EQ(state.pe_report_event, PTRACE_FORK);
1368 printf("Reported PTRACE_FORK event with forkee %d\n", child2);
1378 ATF_REQUIRE_EQ(state.pe_report_event, PTRACE_FORK);
1806 "set to PTRACE_FORK | PTRACE_VFORK_DONE");
1853 event.pe_set_event = PTRACE_FORK | PTRACE_VFORK_DON
[all...]
/freebsd-current/tests/sys/kern/
H A Dptrace_test.c1653 /* PT_FOLLOW_FORK should toggle the state of PTRACE_FORK. */
1657 ATF_REQUIRE(events & PTRACE_FORK);
1661 ATF_REQUIRE(!(events & PTRACE_FORK));
1760 events |= PTRACE_FORK | PTRACE_VFORK;
3430 event_mask = PTRACE_EXEC | PTRACE_FORK | PTRACE_LWP;
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/
H A DNativeProcessFreeBSD.cpp930 events |= PTRACE_LWP | PTRACE_FORK | PTRACE_VFORK;

Completed in 195 milliseconds