Re: Issue in man page PR_SET_SECUREBITS.2const
From: Alejandro Colomar <alx@kernel.org>
Date: 2025-08-24 19:25:24
Attachments
- signature.asc [application/pgp-signature] 833 bytes
From: Alejandro Colomar <alx@kernel.org>
Date: 2025-08-24 19:25:24
Hi Helge, On Sun, Aug 24, 2025 at 02:48:48PM +0000, Helge Kreutzmann wrote:
Without further ado, the following was found: Issue: I<op> → I<flags> ? "I<op> is B<PR_SET_SECUREBITS>, and the caller does not have the " "B<CAP_SETPCAP> capability, or tried to unset a \"locked\" flag, or tried to " "set a flag whose corresponding locked flag was set (see B<capabilities>(7))."
Hmmm, this is cruft that I forgot to update after splitting the page. I've fixed it with this: commit c71d7a2e31c0689d942bc3b030284144bd331f04 (HEAD -> contrib) Author: Alejandro Colomar [off-list ref] Date: Sun Aug 24 21:23:39 2025 +0200 man/man2const/PR_SET_SECUREBITS.2const: wfix Fixes: 2dcad3cde34e (2024-05-31; "PR_SET_SECUREBITS.2const: Tweak after split") Reported-by: Helge Kreutzmann [off-list ref] Signed-off-by: Alejandro Colomar [off-list ref] diff --git a/man/man2const/PR_SET_SECUREBITS.2const b/man/man2const/PR_SET_SECUREBITS.2const index ae7268d7d..c80ce0f2e 100644 --- a/man/man2const/PR_SET_SECUREBITS.2const +++ b/man/man2const/PR_SET_SECUREBITS.2const @@ -35,10 +35,7 @@ .SH ERRORS is not a valid value. .TP .B EPERM -.I op -is -.BR PR_SET_SECUREBITS , -and the caller does not have the +The caller does not have the .B CAP_SETPCAP capability, or tried to unset a "locked" flag, Thanks for the report! Cheers, Alex -- <https://www.alejandro-colomar.es/>