[GIT PULL] capabilities update for 6.15

From: Serge E. Hallyn
Date: Fri Mar 28 2025 - 00:13:28 EST


Hi Linus,

this PR just contains one patch to drop an unused helper. Please merge.

thanks,
-serge

--

The following changes since commit 2014c95afecee3e76ca4a56956a936e23283f05b:

Linux 6.14-rc1 (2025-02-02 15:39:26 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/sergeh/linux.git tags/caps-pr-20250327

for you to fetch changes up to 4ae89b1fe7c2e37a8f2ea39765e4c40c9d42a101:

capability: Remove unused has_capability (2025-03-07 22:03:09 -0600)

----------------------------------------------------------------
Capabilities update for 6.15

This branch contains one patch:

capability: Remove unused has_capability

This removes a helper function whose last user (smack) stopped using
it in 2018.

This has been in linux-next for most of the the last cycle with no
apparent issues. It is available at:

git@xxxxxxxxxxxxxx/pub/scm/linux/kernel/git/sergeh/linux.git #caps-20250327

on top of commit 2014c95afecee3e76ca4a56956a936e23283f05b (tag: v6.14-rc1)

----------------------------------------------------------------
Dr. David Alan Gilbert (1):
capability: Remove unused has_capability

include/linux/capability.h | 5 -----
kernel/capability.c | 16 ----------------
security/commoncap.c | 9 +++++----
3 files changed, 5 insertions(+), 25 deletions(-)