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>
This commit is contained in:
Robert Harris 2013-08-09 09:49:22 +02:00 committed by Michael Kerrisk
parent 415f7e6317
commit 2510e4e5a1
1 changed files with 3 additions and 2 deletions

View File

@ -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 .