Page MenuHomeFreeBSD

MFC r344662:
ClosedPublic

Authored by ngie on Apr 3 2019, 4:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 25 2023, 1:25 AM
Unknown Object (File)
Dec 21 2023, 11:14 AM
Unknown Object (File)
Dec 20 2023, 2:55 AM
Unknown Object (File)
Nov 2 2023, 7:14 AM
Unknown Object (File)
Aug 28 2023, 4:28 PM
Unknown Object (File)
Aug 22 2023, 10:10 AM
Unknown Object (File)
Jul 20 2023, 9:53 AM
Unknown Object (File)
Jul 1 2023, 3:16 PM

Details

Summary

Remove references to pdwait4(2) and CAP_PDWAIT from rights(4)

@cem removed references to pdwait4(2) (a nonexistent syscall) in
r320058.

This change removes references to pdwait4(2) and CAP_PDWAIT in
rights(4) to not mislead the user into thinking that pdwait4(2)/CAP_PDWAIT is
actually implemented in the stock FreeBSD kernel.

The goal of this functionality was to simplify monitoring/manipulating
processes started with pdfork, et al, and avoid races with waiting on pids.
The syscall was never completed though--just discussed on the capsicum mailing
list back in 2015:
https://lists.cam.ac.uk/pipermail/cl-capsicum-discuss/2015-May/msg00012.html
. That being said, there are members of the project (@rwatson, etc) who
have longterm goals to implement this syscall to better secure pdfork(2)
calls.

PR: 235871
Discussed with: rwatson

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ngie added subscribers: manpages, capsicum.
This revision was not accepted when it landed; it landed in state Needs Review.Apr 9 2019, 4:35 PM
Closed by commit rS346059: MFC r344662: (authored by ngie). · Explain Why
This revision was automatically updated to reflect the committed changes.