summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Harris <robert.harris@fixnetix.com>2013-08-09 09:49:22 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2013-08-09 09:49:22 +0200
commit2510e4e5a1d21db7813204f4361c663b130a1a71 (patch)
treeca3e3f9c75827c702921f3e7eef6391a6b493b67
parent415f7e63176602937ed493817d279a5c4cd63b75 (diff)
open.2: Add mmap(2) to list of calls that fail when given an O_PATH descriptor
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/open.25
1 files changed, 3 insertions, 2 deletions
diff --git a/man2/open.2 b/man2/open.2
index 1cb7094c..9ebc0a03 100644
--- a/man2/open.2
+++ b/man2/open.2
@@ -48,7 +48,7 @@
.\" O_TTYINIT. Eventually these may need to be documented. --mtk
.\" FIXME Linux 2.6.33 has O_DSYNC, and a hidden __O_SYNC.
.\"
-.TH OPEN 2 2013-07-21 "Linux" "Linux Programmer's Manual"
+.TH OPEN 2 2013-08-09 "Linux" "Linux Programmer's Manual"
.SH NAME
open, creat \- open and possibly create a file or device
.SH SYNOPSIS
@@ -458,7 +458,8 @@ The file itself is not opened, and other file operations (e.g.,
.BR write (2),
.BR fchmod (2),
.BR fchown (2),
-.BR fgetxattr (2))
+.BR fgetxattr (2),
+.BR mmap (2))
fail with the error
.BR EBADF .