Date: Tue, 18 Aug 2020 23:45:42 +0300 From: Konstantin Belousov <kostikbel@gmail.com> To: arch@freebsd.org, current@freebsd.org Cc: peter@holm.cc Subject: Process group orphaning fixes Message-ID: <20200818204542.GR2551@kib.kiev.ua>
next in thread | raw e-mail | index | archive | help
I fixed several issues in our handling of the process group job control state, biggest of which was uncovered by the reaping facility. The bugs demostrate itself and underflow (and probably overflow) of pgrp->pg_jobc, that was reported as panics with added and then removed asserts. Feel free to participate in review at https://reviews.freebsd.org/D26116. See the review summary for more detailed description of the bugs and the patch itself. Targeted tests were narrowed down by Peter Holm, who also tested the proposed patch.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200818204542.GR2551>