[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHC9VhQ73qdL2Qf-jOMMVSf=+h-H8K+mz165XZztb5X6XjH11w@mail.gmail.com>
Date: Thu, 19 Dec 2024 13:28:02 -0500
From: Paul Moore <paul@...l-moore.com>
To: linux@...blig.org
Cc: serge@...lyn.com, linux-security-module@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] capability: Remove unused has_capability
On Thu, Dec 19, 2024 at 12:29 PM <linux@...blig.org> wrote:
>
> From: "Dr. David Alan Gilbert" <linux@...blig.org>
>
> The vanilla has_capability() function has been unused since 2018's
> commit dcb569cf6ac9 ("Smack: ptrace capability use fixes")
>
> Remove it.
>
> Fixup a comment in security/commoncap.c that referenced it.
>
> Signed-off-by: Dr. David Alan Gilbert <linux@...blig.org>
> ---
> include/linux/capability.h | 5 -----
> kernel/capability.c | 16 ----------------
> security/commoncap.c | 9 +++++----
> 3 files changed, 5 insertions(+), 25 deletions(-)
Now that Serge has the capabilities tree back up and running I'm
assuming he will grab this patch, if not just let me know Serge and I
can take it.
Reviewed-by: Paul Moore <paul@...l-moore.com>
--
paul-moore.com
Powered by blists - more mailing lists