Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Get rid of the zombies in Capsicum capability mode. #755
This solves the problem where Irssi running in capability mode would leave zombies, probably from either DNS resolving or connecting in the background. The reason, from what I understand, is that glib doesn't know about Capsicum and cannot use process descriptors; the usual method of waiting for processes - wait(2) et al - is not available in capability mode due to requiring access to a global namespace (PID namespace in this case). The right thing would be to add the neccessary functionality to glib - but until this happens, this workaround should be ok - I don't think it breaks anything that isn't already broken in capability mode, like Perl.
Signed-off-by: Edward Tomasz Napierala trasz@FreeBSD.org