]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFS11 r340290: Only clear a pending thread event if one is pending.
authoremaste <emaste@FreeBSD.org>
Wed, 19 Dec 2018 17:52:56 +0000 (17:52 +0000)
committeremaste <emaste@FreeBSD.org>
Wed, 19 Dec 2018 17:52:56 +0000 (17:52 +0000)
commite72e16e70c2180817d0ae932b15c52c18a30d107
tree611af7247f66a8f2032ce32136e372e5dba75127
parent888fdfbae1e6345c054a031e3d996b1f3a19149b
MFS11 r340290: Only clear a pending thread event if one is pending.

This fixes a panic when attaching to an already-stopped process.

Also do some other clean ups for control flow of sendsig section.

Submitted by: markj
Approved by: so
Security: FreeBSD-EN-18:16.ptrace
Sponsored by: The FreeBSD Foundation
sys/kern/sys_process.c