Bug 201054 - capsicum: waitpid(-1,..) is seeing pdfork()ed children when it shouldn't
Summary: capsicum: waitpid(-1,..) is seeing pdfork()ed children when it shouldn't
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: Mariusz Zaborski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-22 21:07 UTC by Ed Maste
Modified: 2015-08-27 20:35 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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