diff options
author | oshogbo <oshogbo@FreeBSD.org> | 2016-06-08 02:09:14 +0000 |
---|---|---|
committer | oshogbo <oshogbo@FreeBSD.org> | 2016-06-08 02:09:14 +0000 |
commit | 17ff1e5b262125b4d633e4d2f266a27e83cadb49 (patch) | |
tree | 4a66f3894cb509b4c2355cc20ab8eae477485ab2 /lib/libc | |
parent | e454e1cc78f56f1dffde6a1941363ad0cd997a52 (diff) | |
download | FreeBSD-src-17ff1e5b262125b4d633e4d2f266a27e83cadb49.zip FreeBSD-src-17ff1e5b262125b4d633e4d2f266a27e83cadb49.tar.gz |
Introduce the PD_CLOEXEC for pdfork(2).
Reviewed by: mjg
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/pdfork.2 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/sys/pdfork.2 b/lib/libc/sys/pdfork.2 index e057f76..5f1a86e 100644 --- a/lib/libc/sys/pdfork.2 +++ b/lib/libc/sys/pdfork.2 @@ -32,7 +32,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 7, 2014 +.Dd June 8, 2016 .Dt PDFORK 2 .Os .Sh NAME @@ -80,6 +80,10 @@ This option is not permitted in capability mode (see .Xr cap_enter 2 ) . .El +.Bl -tag -width ".Dv PD_DAEMON" +.It Dv PD_CLOEXEC +Set close-on-exec on process descriptor. +.El .Pp .Fn pdgetpid queries the process ID (PID) in the process descriptor |