summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/lldb/source/Host/common/Terminal.cpp
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2015-09-16 16:40:07 +0000
committerjhb <jhb@FreeBSD.org>2015-09-16 16:40:07 +0000
commitd32c34734415fa05c3377f6e428872376db4c1f1 (patch)
tree5476379a179f7b60140a94aaa6dfa0374f346a45 /contrib/llvm/tools/lldb/source/Host/common/Terminal.cpp
parent1e639f75e6bcbb6d24dda5fb98ec56b7759baab6 (diff)
downloadFreeBSD-src-d32c34734415fa05c3377f6e428872376db4c1f1.zip
FreeBSD-src-d32c34734415fa05c3377f6e428872376db4c1f1.tar.gz
When a process group leader exits, all of the processes in the group are
sent SIGHUP and SIGCONT if any of the processes are stopped. Currently this behavior is triggered for any type of process stop including ptrace() stops and transient stops for single threading during exit() and execve(). Thus, if a debugger is attached to a process in a group when the leader exits, the entire group can be HUPed. Instead, only send the signals if a process in the group is stopped due to SIGSTOP. PR: 201149 Reviewed by: kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D3681
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Host/common/Terminal.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud