mirror of https://github.com/mkerrisk/man-pages
fcntl.2: F_ADD_SEALS requires that 'fd' be writable
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
5c87e70efb
commit
0ec4b9d721
11
man2/fcntl.2
11
man2/fcntl.2
|
@ -1344,6 +1344,9 @@ If the current set of seals includes
|
|||
Adding a seal that is already set is a no-op, in case
|
||||
.B F_SEAL_SEAL
|
||||
is not set already.
|
||||
In order to place a seal, the file descriptor
|
||||
.I fd
|
||||
must be writable.
|
||||
.TP
|
||||
.BR F_GET_SEALS " (\fIvoid\fP; since Linux 3.17)"
|
||||
Return (as the function result) the current set of seals
|
||||
|
@ -1591,6 +1594,14 @@ does not refer to a directory.
|
|||
Attempted to clear the
|
||||
.B O_APPEND
|
||||
flag on a file that has the append-only attribute set.
|
||||
.TP
|
||||
.B EPERM
|
||||
.I cmd
|
||||
was
|
||||
.BR F_ADD_SEALS ,
|
||||
but
|
||||
.I fd
|
||||
was not open for writing.
|
||||
.SH CONFORMING TO
|
||||
SVr4, 4.3BSD, POSIX.1-2001.
|
||||
Only the operations
|
||||
|
|
Loading…
Reference in New Issue