]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
fcntl.2: ERRORS: add various file-sealing error cases
authorMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 19 Jan 2015 09:00:28 +0000 (10:00 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 19 Jan 2015 09:35:33 +0000 (10:35 +0100)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/fcntl.2

index fa0eb9e1cc2c322d08658229261a2813bfca3b30..8c92803ad86031bf2da2fe61df7b300d038ed86a 100644 (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