Skip to contentSkip to conversation

Landlock updates for v6.8

GIT PULL Merged Mickaël Salaün 2 participants 2 messages Jan 8, 2024 – Jan 9, 2024 Security (LSM)

lore
Share & tools
lore
#0 lore raw

Hi Linus,

This PR adds new tests, a slight optimization, and some cosmetic changes.

Please pull these changes for v6.8-rc1. These 7 commits merged cleanly with your master branch. The kernel code has been tested in the latest linux-next releases for a few weeks. I rebased the latest patches with updated descriptions though.

Test coverage for security/landlock is 92.4% of 710 lines according to gcc/gcov-13, same as before because only semantic tests are added.

Regards,
Mickaël

--
The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86:

Linux 6.7-rc1 (2023-11-12 16:19:07 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux.git tags/landlock-6.8-rc1

for you to fetch changes up to 0daaa610c8e033cdfb420db728c2b40eb3a75134:

landlock: Optimize the number of calls to get_access_mask slightly (2024-01-03 12:43:17 +0100)

----------------------------------------------------------------
Landlock updates for v6.8-rc1

----------------------------------------------------------------
Günther Noack (5):
landlock: Remove remaining "inline" modifiers in .c files [v5.15]
landlock: Remove remaining "inline" modifiers in .c files [v6.1]
landlock: Remove remaining "inline" modifiers in .c files [v6.6] selftests/landlock: Rename "permitted" to "allowed" in ftruncate tests
landlock: Optimize the number of calls to get_access_mask slightly

Mickaël Salaün (2):
selftests/landlock: Add tests to check unknown rule's access rights selftests/landlock: Add tests to check unhandled rule's access rights

 security/landlock/fs.c                      | 26 +++++-----
 security/landlock/ruleset.c                 |  7 +--
 tools/testing/selftests/landlock/fs_test.c  | 80 +++++++++++++++++++++++++----
 tools/testing/selftests/landlock/net_test.c | 59 ++++++++++++++++++++-
 4 files changed, 145 insertions(+), 27 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Mon, 8 Jan 2024 12:33:11 +0100:

The pull request you sent on Mon, 8 Jan 2024 12:33:11 +0100:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux.git tags/landlock-6.8-rc1

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

Thank you!

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