Hi Štěpán, On 2026-07-13T14:11:11+0200, Štěpán Němec wrote: > Fixes: ac5edfeb1dd6 (2021-08-27; "memfd_secret.2: New page describing memfd_secret() system call") > Cc: Mike Rapoport > Signed-off-by: Štěpán Němec > --- > On Fri, 10 Jul 2026 18:44:19 +0200 > Alejandro Colomar wrote: > > > I think I'd fix this typo in a separate commit, since it's a meaningful > > typo (both EMFILE and ENFILE exist, and they have a slightly different > > meaning). > > > > In the fix, please include the following tags: > > > > Fixes: ac5edfeb1dd6 (2021-08-27; "memfd_secret.2: New page describing memfd_secret() system call") > > Cc: Mike Rapoport > > Fair enough. > > FWIW, out of abundance of caution (admittedly verging on paranoia), I > did verify that unprivileged memfd_secret distinguished EMFILE and > ENFILE as expected (brought about by setrlimit for the former and > limiting fs.file-max for the latter in a VM running a recent alpine-edge > image) before sending the original patch, but the hypothesis that this > was anything other than a typo or a copy-paste error seemed too > far-fetched to mention that. Thanks! I've applied the patch. Have a lovely day! Alex > > man/man2/memfd_secret.2 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/man/man2/memfd_secret.2 b/man/man2/memfd_secret.2 > index 0ea4b8e93c37..4033adc75772 100644 > --- a/man/man2/memfd_secret.2 > +++ b/man/man2/memfd_secret.2 > @@ -119,7 +119,7 @@ .SH ERRORS > .B EMFILE > The per-process limit on the number of open file descriptors has been reached. > .TP > -.B EMFILE > +.B ENFILE > The system-wide limit on the total number of open files has been reached. > .TP > .B ENOMEM > > -- > 2.55.0 > > --