[PATCH v2] capability: Remove unused has_capability
sergeh at kernel.org
sergeh at kernel.org
Sat Mar 8 03:44:50 UTC 2025
On Wed, Feb 26, 2025 at 07:08:52PM -0500, Paul Moore wrote:
> On Thu, Dec 19, 2024 at 1:28 PM Paul Moore <paul at paul-moore.com> wrote:
> >
> > On Thu, Dec 19, 2024 at 12:29 PM <linux at treblig.org> wrote:
> > >
> > > From: "Dr. David Alan Gilbert" <linux at treblig.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 at treblig.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 at paul-moore.com>
>
> Bump this thread to make sure Serge sees it ...
d'oh, sorry, yes
Acked-by: Serge Hallyn <serge at hallyn.com>
I will apply this now.
-serge
More information about the Linux-security-module-archive
mailing list