markj 6ccc1b583b 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-05-11 16:11:24 +00:00
2018-08-16 22:04:00 +00:00
2017-10-31 00:07:04 +00:00
2018-08-16 22:04:00 +00:00
2017-10-31 00:07:04 +00:00
2017-11-17 19:25:39 +00:00
2017-10-31 00:07:04 +00:00