aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2017-09-21 14:53:01 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2017-09-22 08:44:18 +0200
commit88aa124ab2a9ae9df5409ffbec67ae000f61b83c (patch)
tree8c453c4b8bacac5fc73cdeee6f380c1d2acf3ca1 /man2
parent589883606dd4c702f0b2c746a03d5128a281b168 (diff)
downloadman-pages-88aa124ab2a9ae9df5409ffbec67ae000f61b83c.tar.gz
memfd_create.2: Minor reworking of Mike Kavetz''s patch
Move info about EINVAL error into ERRORS. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2')
-rw-r--r--man2/memfd_create.214
1 files changed, 11 insertions, 3 deletions
diff --git a/man2/memfd_create.2 b/man2/memfd_create.2
index 2d4d8d7b5e..77d6b89047 100644
--- a/man2/memfd_create.2
+++ b/man2/memfd_create.2
@@ -113,9 +113,9 @@ Therefore, specifying both
.B MFD_HUGETLB
and
.B MFD_ALLOW_SEALING
-will result in an error
-.RB ( EINVAL )
-being returned.
+in
+.I flags
+is disallowed.
.TP
.BR MFD_HUGE_2MB ", " MFD_HUGE_1GB ", " "..."
Used in conjunction with
@@ -176,6 +176,14 @@ included unknown bits, or
.I name
was too long.
.TP
+.B EINVAL
+Both
+.B MFD_HUGETLB
+and
+.B MFD_ALLOW_SEALING
+were specified in
+.IR flags .
+.TP
.B EMFILE
The per-process limit on the number of open file descriptors has been reached.
.TP