OPNSense/src 6cd05ccsys/kern sys_process.c

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
DeltaFile
+53-49sys/kern/sys_process.c
+53-491 files

UnifiedSplitRaw