[PATCH] man/man2/memfd_secret.2: tfix
Štěpán Němec <[email protected]> Mon, 13 Jul 2026 14:11:11 +0200
| Newsgroups | org.kernel.vger.linux-man |
|---|---|
| Message-ID | <[email protected]> |
Fixes: ac5edfeb1dd6 (2021-08-27; "memfd_secret.2: New page describing memfd_secret() system call") Cc: Mike Rapoport <[email protected]> Signed-off-by: Štěpán Němec <[email protected]> --- 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 <[email protected]> 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. 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