Re: [PATCH v2] capability: Remove unused has_capability
From: Paul Moore <paul@paul-moore.com>
Date: 2025-02-27 00:09:05
Also in:
lkml
From: Paul Moore <paul@paul-moore.com>
Date: 2025-02-27 00:09:05
Also in:
lkml
On Thu, Dec 19, 2024 at 1:28 PM Paul Moore [off-list ref] wrote:
On Thu, Dec 19, 2024 at 12:29 PM [off-list ref] wrote:quoted
From: "Dr. David Alan Gilbert" <redacted> 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 <redacted> --- 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@paul-moore.com>
Bump this thread to make sure Serge sees it ... -- paul-moore.com