Skip to contentSkip to conversation

lsm/lsm-pr-20260814

GIT PULL Merged Paul Moore 2 participants 2 messages Aug 17 – Aug 20 Security (LSM)

lore
Share & tools
lore

Paul Moore

author maintainer
#0 lore raw

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

merge bot Merged
#1 lore raw
The pull request you sent on Mon, 17 Aug 2026 19:16:40 -0400:

The pull request you sent on Mon, 17 Aug 2026 19:16:40 -0400:

Quoted 1 line

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/09005a63988521f74111fae344aecb3f63306168

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html