]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Properly reparent traced processes when the tracer dies.
authormjg <mjg@FreeBSD.org>
Sun, 24 Aug 2014 09:02:16 +0000 (09:02 +0000)
committermjg <mjg@FreeBSD.org>
Sun, 24 Aug 2014 09:02:16 +0000 (09:02 +0000)
commiteda187d10a6e741d8476a69060cd7dac79d35964
treec1b2555489c71a3c545a48b6d8dc0d033e01843b
parent79d2bf4036247ce714c75ce2e5a71bc0456fd59b
Properly reparent traced processes when the tracer dies.

Previously they were uncoditionally reparented to init. In effect
it was possible that tracee was never returned to original parent.

Reviewed by: kib
MFC after: 1 week
sys/kern/kern_exit.c