From: "Mickaël Salaün" <mic@digikod.net>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: "Mickaël Salaün" <mic@digikod.net>,
"Günther Noack" <gnoack@google.com>,
"Ivanov Mikhail" <ivanov.mikhail1@huawei-partners.com>,
"Konstantin Meskhidze" <konstantin.meskhidze@huawei.com>,
"Paul Moore" <paul@paul-moore.com>,
linux-kernel@vger.kernel.org,
linux-security-module@vger.kernel.org
Subject: [GIT PULL] Landlock updates for v6.10
Date: Thu, 16 May 2024 15:26:24 +0200 [thread overview]
Message-ID: <20240516132624.1536065-1-mic@digikod.net> (raw)
Hi Linus,
This PR mainly brings IOCTL control to Landlock, contributed by Günther Noack.
This also adds him as a Landlock reviewer, and fixes an issue in the sample.
Please pull these changes for v6.10-rc1. This commit merged cleanly with your
master branch. The kernel code has been tested in the latest linux-next
releases for a few weeks, but I rebased it on v6.9 to avoid a merge conflict
because of the recent Kselftest fixes.
syzkaller has also been patched to know about this new access right.
Regards,
Mickaël
--
The following changes since commit a38297e3fb012ddfa7ce0321a7e5a8daeb1872b6:
Linux 6.9 (2024-05-12 14:12:29 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux.git tags/landlock-6.10-rc1
for you to fetch changes up to 5bf9e57e634bd72a97b4b12c87186fc052a6a116:
MAINTAINERS: Add Günther Noack as Landlock reviewer (2024-05-13 06:58:36 +0200)
----------------------------------------------------------------
Landlock updates for v6.10-rc1
----------------------------------------------------------------
Günther Noack (11):
landlock: Add IOCTL access right for character and block devices
selftests/landlock: Test IOCTL support
selftests/landlock: Test IOCTL with memfds
selftests/landlock: Test ioctl(2) and ftruncate(2) with open(O_PATH)
selftests/landlock: Test IOCTLs on named pipes
selftests/landlock: Check IOCTL restrictions for named UNIX domain sockets
selftests/landlock: Exhaustive test for the IOCTL allow-list
samples/landlock: Add support for LANDLOCK_ACCESS_FS_IOCTL_DEV
landlock: Document IOCTL support
MAINTAINERS: Notify Landlock maintainers about changes to fs/ioctl.c
fs/ioctl: Add a comment to keep the logic in sync with LSM policies
Ivanov Mikhail (1):
samples/landlock: Fix incorrect free in populate_ruleset_net
Mickaël Salaün (1):
MAINTAINERS: Add Günther Noack as Landlock reviewer
Documentation/userspace-api/landlock.rst | 78 ++++-
MAINTAINERS | 2 +
fs/ioctl.c | 3 +
include/uapi/linux/landlock.h | 38 ++-
samples/landlock/sandboxer.c | 18 +-
security/landlock/fs.c | 225 ++++++++++++-
security/landlock/limits.h | 2 +-
security/landlock/syscalls.c | 2 +-
tools/testing/selftests/landlock/base_test.c | 2 +-
tools/testing/selftests/landlock/fs_test.c | 487 ++++++++++++++++++++++++++-
10 files changed, 811 insertions(+), 46 deletions(-)
next reply other threads:[~2024-05-16 13:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-16 13:26 Mickaël Salaün [this message]
2024-05-18 18:07 ` pr-tracker-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240516132624.1536065-1-mic@digikod.net \
--to=mic@digikod.net \
--cc=gnoack@google.com \
--cc=ivanov.mikhail1@huawei-partners.com \
--cc=konstantin.meskhidze@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=paul@paul-moore.com \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®