summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
diff options
context:
space:
mode:
authorkamil <kamil@NetBSD.org>2019-10-09 13:19:43 +0000
committerkamil <kamil@NetBSD.org>2019-10-09 13:19:43 +0000
commitad86e77fe886efb52ae85cd797797c642fc99962 (patch)
tree319bf3a9f065a5fa432eb922468a9b6878f9c2de /sys/dev/microcode
parent375a0006a7b6d1ef06a03dbf5de9afc1072724cb (diff)
Introduce new ptrace(2) operation PT_STOP
It works like: - kill(SIGSTOP) for unstopped tracee - ptrace(PT_CONTINUE,SIGSTOP) for stopped tracee The child will be stopped and always possible to be waited (with wait(2) like calls). For stopped traccee kill(SIGSTOP) has no effect. PT_CONTINUE+SIGSTOP cannot be used on an unstopped process (EBUSY). This operation is modeled after PT_KILL that is similar for the SIGKILL call. While there, allow PT_KILL on unstopped traced child. This operation is useful in an abnormal exit of a debugger from a signal handler, usually followed by waitpid(2) and ptrace(PT_DETACH).
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions