fcntl.2: ERRORS: add various file-sealing error cases

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-01-19 10:00:28 +01:00
parent 158439352c
commit bb38aaab17
1 changed files with 19 additions and 2 deletions

View File

@ -1497,6 +1497,16 @@ or
and the file descriptor open mode doesn't match with the
type of lock requested.
.TP
.B EBUSY
.I cmd
is
.BR F_ADD_SEALS ,
.IR arg
includes
.BR F_SEAL_WRITE ,
and there exists a writable, shared mapping on the file referred to by
.IR fd .
.TP
.B EDEADLK
It was detected that the specified
.B F_SETLKW
@ -1529,8 +1539,15 @@ is
.BR F_ADD_SEALS
and
.I arg
includes an unrecognized sealing bit or
the filesystem containing the inode referred to by
includes an unrecognized sealing bit.
.TP
.BR EINVAL
.I cmd
is
.BR F_ADD_SEALS
or
.BR F_GET_SEALS
and the filesystem containing the inode referred to by
.I fd
does not support sealing.
.TP