aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2015-01-19 09:16:41 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2015-01-19 10:35:33 +0100
commitfbab10e5d60196cb3331d960f9e42d3b91bb3da9 (patch)
tree2a5627bb1da0d64ac32f5a5128516ef79113248e
parent468326627a4be376a9c9ee637158acce94affdd5 (diff)
downloadman-pages-fbab10e5d60196cb3331d960f9e42d3b91bb3da9.tar.gz
fallocate.2, mmap.2, open.2, truncate.2, write.2: ERRORS: add EPERM for operation denied by file seal
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/fallocate.24
-rw-r--r--man2/mmap.24
-rw-r--r--man2/open.24
-rw-r--r--man2/truncate.24
-rw-r--r--man2/write.24
5 files changed, 20 insertions, 0 deletions
diff --git a/man2/fallocate.2 b/man2/fallocate.2
index 6b2a16a57d..290e12ba06 100644
--- a/man2/fallocate.2
+++ b/man2/fallocate.2
@@ -349,6 +349,10 @@ is marked append-only
(see
.BR chattr (1)).
.TP
+.B EPERM
+The operation was prevented by a file seal; see
+.BR fcntl (2).
+.TP
.B ESPIPE
.I fd
refers to a pipe or FIFO.
diff --git a/man2/mmap.2 b/man2/mmap.2
index cfddeaa6e5..951451bae9 100644
--- a/man2/mmap.2
+++ b/man2/mmap.2
@@ -465,6 +465,10 @@ but the mapped area belongs to a file on a filesystem that
was mounted no-exec.
.\" (Since 2.4.25 / 2.6.0.)
.TP
+.B EPERM
+The operation was prevented by a file seal; see
+.BR fcntl (2).
+.TP
.B ETXTBSY
.B MAP_DENYWRITE
was set but the object specified by
diff --git a/man2/open.2 b/man2/open.2
index 52d6b48a4b..d6bff3ed40 100644
--- a/man2/open.2
+++ b/man2/open.2
@@ -980,6 +980,10 @@ flag was specified, but the effective user ID of the caller
did not match the owner of the file and the caller was not privileged
.RB ( CAP_FOWNER ).
.TP
+.B EPERM
+The operation was prevented by a file seal; see
+.BR fcntl (2).
+.TP
.B EROFS
.I pathname
refers to a file on a read-only filesystem and write access was
diff --git a/man2/truncate.2 b/man2/truncate.2
index 2ab57da68d..4ca142b01c 100644
--- a/man2/truncate.2
+++ b/man2/truncate.2
@@ -169,6 +169,10 @@ A component of the path prefix is not a directory.
The underlying filesystem does not support extending
a file beyond its current size.
.TP
+.B EPERM
+The operation was prevented by a file seal; see
+.BR fcntl (2).
+.TP
.B EROFS
The named file resides on a read-only filesystem.
.TP
diff --git a/man2/write.2 b/man2/write.2
index 6b8a5b8c80..4882217b76 100644
--- a/man2/write.2
+++ b/man2/write.2
@@ -171,6 +171,10 @@ The device containing the file referred to by
.I fd
has no room for the data.
.TP
+.B EPERM
+The operation was prevented by a file seal; see
+.BR fcntl (2).
+.TP
.B EPIPE
.I fd
is connected to a pipe or socket whose reading end is closed.