diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2013-01-19 07:57:22 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2013-01-19 07:57:22 +0000 |
commit | 81062ba3ece7258008b25b49e75380b12b0e2b45 (patch) | |
tree | aa28e4f4b97ea3947d8c177d4127cfd044102ef1 /lib | |
parent | cd7dd23fa23ac9d7f71e8a51abdc7cde8faa948f (diff) |
partially re-instate previous; requested by deraadt
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/open.2 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2 index ef78b5dc1cd..f8f32a8ee80 100644 --- a/lib/libc/sys/open.2 +++ b/lib/libc/sys/open.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: open.2,v 1.41 2013/01/19 07:18:15 jmc Exp $ +.\" $OpenBSD: open.2,v 1.42 2013/01/19 07:57:21 jmc Exp $ .\" $NetBSD: open.2,v 1.8 1995/02/27 12:35:14 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -100,7 +100,10 @@ Atomically obtain an exclusive lock. .It Dv O_NOFOLLOW If last path element is a symlink, don't follow it. .It Dv O_CLOEXEC -Set new file descriptor to close on exec. +Set +.Dv FD_CLOEXEC +(the close-on-exec flag) +on the new file descriptor. .It Dv O_DIRECTORY Error if .Fa path |