[GIT PULL] lsm/lsm-pr-20260814

From: Paul Moore

Date: Mon Aug 17 2026 - 19:18:22 EST


Linus,

Four LSM framework patches for the Linux v7.3 merge window, the highlights
are below:

- Remove task_euid()

The task_euid(), and Rust counterpart, was never widely used, for good
reason, and now that the only user is gone we're removing it to rid
ourselves of both dead and funky code.

- Documentation improvements

Correct some of the kdoc comments for security_task_prctl() and clarify
the rust comments on task UID accessors.

- Fix a memory leak in the LSM syscall selftests

Paul

--
The following changes since commit dc59e4fea9d83f03bad6bddf3fa2e52491777482:

Linux 7.2-rc1 (2026-06-28 12:01:31 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm.git
tags/lsm-pr-20260814

for you to fetch changes up to 0cee720cfd51402cfcb14d96cb326a36c13b823a:

selftests/lsm: Fix memory leak in attr_lsm_count
(2026-07-07 15:14:00 -0400)

----------------------------------------------------------------
lsm/stable-7.3 PR 20260814
----------------------------------------------------------------

Alice Ryhl (1):
cred: delete task_euid()

Bill Roberts (1):
lsm: clarify security_task_prctl() hook documentation

Jann Horn (1):
rust: task: clarify comments on task UID accessors

Wang Yan (1):
selftests/lsm: Fix memory leak in attr_lsm_count

Documentation/security/credentials.rst | 6 +----
Documentation/translations/zh_CN/security/credentials.rst | 4 ---
include/linux/cred.h | 1
rust/helpers/task.c | 5 ----
rust/kernel/task.rs | 11 +---------
security/security.c | 5 +---
tools/testing/selftests/lsm/common.c | 4 ++-
7 files changed, 10 insertions(+), 26 deletions(-)

--
paul-moore.com