Mark Johnston ddab8c351a Reparent a child of pdfork(2) to its reaper when the procdesc is closed.
Unconditionally reparenting to PID 1 breaks the procctl(2) reaper
functionality.

Add a regression test for this case.

Reviewed by:	kib
Approved by:	re (gjb)
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D17589
2018-10-16 20:06:56 +00:00
..
2018-08-16 22:04:00 +00:00
2018-08-16 22:04:00 +00:00
2018-08-03 01:37:00 +00:00
2018-08-16 22:04:00 +00:00
2018-03-21 04:44:19 +00:00
2018-08-16 22:04:00 +00:00