[GIT PULL] capabilities update for v6.19

From: Serge E. Hallyn

Date: Thu Dec 04 2025 - 19:36:19 EST


Hi Linus,

This contains the capabilities changes for 6.19. There is only a single commit,

Clarify the rootid_owns_currentns

which introduces no functional change. Ryan Foster had sent a patch
to add testing of the security/commoncap.c:rootid_owns_currentns()
function. The patch pointed out that this function was not as clear
as it should be.

This commit has two purposes:

1. Clarify the intent of the function in the name
2. Split the function so that the base functionality is easier
to test from a kunit test.

This commit has been in linux-next since November 18 with no reported
issues. Ryan has posted an updated test patch based on this commit.

The following changes since commit 211ddde0823f1442e4ad052a2f30f050145ccada:

Linux 6.18-rc2 (2025-10-19 15:19:16 -1000)

are available in the Git repository at:

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

for you to fetch changes up to 9891d2f79a9fe9b77ad290f950eb8fa3e375330e:

Clarify the rootid_owns_currentns (2025-11-18 18:00:19 -0600)

----------------------------------------------------------------
Capabilities patch for v6.19

There is only a single commit,

Clarify the rootid_owns_currentns

which introduces no functional change. Ryan Foster had sent a patch
to add testing of the security/commoncap.c:rootid_owns_currentns()
function. The patch pointed out that this function was not as clear
as it should be.

This commit has two purposes:

1. Clarify the intent of the function in the name
2. Split the function so that the base functionality is easier
to test from a kunit test.

This commit has been in linux-next since November 18 with no reported
issues. Ryan has posted an updated test patch based on this commit.

----------------------------------------------------------------
Serge Hallyn (1):
Clarify the rootid_owns_currentns

security/commoncap.c | 34 ++++++++++++++++++++++------------
1 file changed, 22 insertions(+), 12 deletions(-)