Bug 201054

Summary: capsicum: waitpid(-1,..) is seeing pdfork()ed children when it shouldn't
Product: Base System Reporter: Ed Maste <emaste>
Component: kernAssignee: Mariusz Zaborski <oshogbo>
Status: Closed FIXED    
Severity: Affects Only Me CC: drysdale, oshogbo
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

Description Ed Maste freebsd_committer freebsd_triage 2015-06-22 21:07:41 UTC
Test case PipePdfork.WildcardWait available in https://github.com/google/capsicum-test
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-08-12 20:09:28 UTC
A commit references this bug:

Author: oshogbo
Date: Wed Aug 12 20:08:54 UTC 2015
New revision: 286698
URL: https://svnweb.freebsd.org/changeset/base/286698

Log:
  When the wait*(2) syscalls wait for any process (P_ALL), they should
  ignore processes created with the pdfork(2) syscall.

  PR:		201054
  Approved by:	pjd (mentor)
  Discussed with:	emaste, rwatson

Changes:
  head/sys/kern/kern_exit.c