[PATCH 1/1] uapi: fix broken link in linux/capability.h

Paul Moore paul at paul-moore.com
Wed Jul 2 02:05:45 UTC 2025


On Jun 29, 2025 Ariel Otilibili <ariel.otilibili-anieli at eurecom.fr> wrote:
> 
> The link to the libcap library is outdated:
> 
> > $ curl "https://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/"
> >
> > <html>
> > <head><title>Index of /pub/linux/libs/security/linux-privs/kernel-2.6/</title></head>
> > <body>
> > <h1>Index of /pub/linux/libs/security/linux-privs/kernel-2.6/</h1><hr><pre><a href="../">../</a>
> > </pre><hr></body>
> > </html>
> 
> Instead, use a link to the libcap2 library:
> 
> > $ curl "https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/"
> >
> > <html>
> > <head><title>Index of /pub/linux/libs/security/linux-privs/libcap2/</title></head>
> > <body>
> > <h1>Index of /pub/linux/libs/security/linux-privs/libcap2/</h1><hr><pre><a href="../">../</a>
> > <a href="old/">old/</a>                                               08-Nov-2007 06:34       -
> > <a href="libcap-2.00.tar.gz">libcap-2.00.tar.gz</a>                                 11-Jan-2014 16:49     37K
> > <a href="libcap-2.00.tar.sign">libcap-2.00.tar.sign</a>                               11-Jan-2014 16:49     819
> > [...]
> > <a href="libcap-2.76.tar.sign">libcap-2.76.tar.sign</a>                               13-Apr-2025 18:20     833
> > <a href="libcap-2.76.tar.xz">libcap-2.76.tar.xz</a>                                 13-Apr-2025 18:20    195K
> > <a href="sha256sums.asc">sha256sums.asc</a>                                     13-Apr-2025 18:25     14K
> > </pre><hr></body>
> > </html>
> 
> As well, give the complete reference of the POSIX compliance.
> 
> Signed-off-by: Ariel Otilibili <ariel.otilibili-anieli at eurecom.fr>
> Acked-by: Andrew G. Morgan <morgan at kernel.org>
> ---
> Cc: Serge Hallyn <serge at hallyn.com>
> Cc: Andrew G. Morgan <morgan at kernel.org>
> ---
>  include/uapi/linux/capability.h | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

My personal preference would be for a commit description that doesn't
wrap when running 'git log' on a 80 char wide terminal, but ultimately
that is Serge's call to make.  Otherwise, the updated URL looks good to
me.

Reviewed-by: Paul Moore <paul at paul-moore.com>

--
paul-moore.com



More information about the Linux-security-module-archive mailing list