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 and the file descriptor open mode doesn't match with the
type of lock requested. type of lock requested.
.TP .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 .B EDEADLK
It was detected that the specified It was detected that the specified
.B F_SETLKW .B F_SETLKW
@ -1529,8 +1539,15 @@ is
.BR F_ADD_SEALS .BR F_ADD_SEALS
and and
.I arg .I arg
includes an unrecognized sealing bit or includes an unrecognized sealing bit.
the filesystem containing the inode referred to by .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 .I fd
does not support sealing. does not support sealing.
.TP .TP