[GIT PULL] lsm/lsm-pr-20240131

From: Paul Moore
Date: Wed Jan 31 2024 - 18:46:29 EST


Hi Linus,

Two small patches to fix some problems relating to LSM hook return values
and how the individual LSMs interact. I expect you'll probably see
another pull request similar to this in the next week (two?), to address
some remaining issues, but these two patches were ready and I wanted to
get them into your tree sooner rather than later. Please merge.

Thanks,
-Paul

--
The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d:

Linux 6.8-rc1 (2024-01-21 14:11:32 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 5a287d3d2b9de2b3e747132c615599907ba5c3c1:

lsm: fix default return value of the socket_getpeersec_*() hooks
(2024-01-30 17:01:54 -0500)

----------------------------------------------------------------
lsm/stable-6.8 PR 20240131

----------------------------------------------------------------
Ondrej Mosnacek (2):
lsm: fix the logic in security_inode_getsecctx()
lsm: fix default return value of the socket_getpeersec_*() hooks

include/linux/lsm_hook_defs.h | 4 ++--
security/security.c | 45 +++++++++++++++++++++++++++++++++-----
2 files changed, 42 insertions(+), 7 deletions(-)

--
paul-moore.com