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>
This commit is contained in:
Michael Kerrisk 2017-09-21 14:53:01 +02:00
parent 589883606d
commit 88aa124ab2
1 changed files with 11 additions and 3 deletions

View File

@ -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