Module Name: src Committed By: kamil Date: Tue Jan 10 00:51:56 UTC 2017
Modified Files: src/share/man/man2: siginfo.2 Log Message: Document TRAP_CHLD in siginfo(2) The SIGTRAP signal is thrown from the kernel if EVENT_MASK (ptrace_event) enables PTRACE_FORK. This new si_code helps debuggers to distinguish the exact source of signal delivered for a debugger. Another purpose of TRAP_CHLD is to retain the same behavior inside the NetBSD kernel for process child traps and have an interface to monitor it. Retrieving exact event and extended properties of process child trap is available with PT_GET_PROCESS_STATE. There is no behavior change for existing software. This si_code value is NetBSD extension. Sponsored by <The NetBSD Foundation> To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/share/man/man2/siginfo.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.