aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
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