fcntl.2: Add EINVAL error for OFD locks where 'l_pid' is not 0

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-04-30 12:33:09 +02:00
parent c11b47b3b1
commit 4b5c506a2c
1 changed files with 11 additions and 0 deletions

View File

@ -1303,6 +1303,17 @@ For
.I arg
is not an allowable signal number.
.TP
.B EINVAL
.I cmd
is
.BR F_OFD_SETLK ,
.BR F_OFD_SETLKW ,
or
.BR F_OFD_GETLK ,
and
.I l_pid
was not specified as zero.
.TP
.B EMFILE
For
.BR F_DUPFD ,