Re: [PATCH v2] capability: Remove unused has_capability
From: sergeh@kernel.org
Date: 2025-03-08 03:44:54
Also in:
lkml
From: sergeh@kernel.org
Date: 2025-03-08 03:44:54
Also in:
lkml
On Wed, Feb 26, 2025 at 07:08:52PM -0500, Paul Moore wrote:
On Thu, Dec 19, 2024 at 1:28 PM Paul Moore [off-list ref] wrote:quoted
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 ...
d'oh, sorry, yes Acked-by: Serge Hallyn <serge@hallyn.com> I will apply this now. -serge