From: "Mickaël Salaün" <mic@digikod.net>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: "Mickaël Salaün" <mic@digikod.net>,
"Anton Ivanov" <anton.ivanov@cambridgegreys.com>,
"Günther Noack" <gnoack3000@gmail.com>,
"Johannes Berg" <johannes@sipsolutions.net>,
"Konstantin Meskhidze" <konstantin.meskhidze@huawei.com>,
"Richard Weinberger" <richard@nod.at>,
"Thomas Gleixner" <tglx@linutronix.de>,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-security-module@vger.kernel.org,
linux-um@lists.infradead.org
Subject: [GIT PULL] Landlock updates for v6.5
Date: Mon, 26 Jun 2023 10:48:30 +0200 [thread overview]
Message-ID: <20230626084830.717289-1-mic@digikod.net> (raw)
Hi Linus,
This PR adds support for Landlock to UML. In fact, this fixes the way
hostfs manages inodes according to the underlying filesystem [1]. They
are now properly handled as for other filesystems, which enables to
support Landlock (and probably other features). This PR also extends
Landlock's tests with 6 pseudo filesystems, including hostfs.
This PR can lead to a trivial merge conflict with tip [2] where one of
Thomas's commit adds ARCH_HAS_CPU_FINALIZE_INIT and one of mine removes
ARCH_EPHEMERAL_INODES in arch/um/Kconfig.
Please pull these changes for v6.5-rc1 . These commits merged cleanly
with v6.4, and have been successfully tested in the latest linux-next
releases for a few weeks.
[1] https://lore.kernel.org/all/20230612191430.339153-1-mic@digikod.net/
[2] https://lore.kernel.org/all/b57481af-5824-72f7-d20f-cfd78fcde519@digikod.net/
Regards,
Mickaël
--
The following changes since commit 858fd168a95c5b9669aac8db6c14a9aeab446375:
Linux 6.4-rc6 (2023-06-11 14:35:30 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux.git tags/landlock-6.5-rc1
for you to fetch changes up to 35ca4239929737bdc021ee923f97ebe7aff8fcc4:
selftests/landlock: Add hostfs tests (2023-06-12 21:26:23 +0200)
----------------------------------------------------------------
Landlock updates for v6.5-rc1
----------------------------------------------------------------
Mickaël Salaün (6):
hostfs: Fix ephemeral inodes
selftests/landlock: Don't create useless file layouts
selftests/landlock: Add supports_filesystem() helper
selftests/landlock: Make mounts configurable
selftests/landlock: Add tests for pseudo filesystems
selftests/landlock: Add hostfs tests
arch/Kconfig | 7 -
arch/um/Kconfig | 1 -
fs/hostfs/hostfs.h | 1 +
fs/hostfs/hostfs_kern.c | 213 ++++++++--------
fs/hostfs/hostfs_user.c | 1 +
security/landlock/Kconfig | 2 +-
tools/testing/selftests/landlock/config | 9 +-
tools/testing/selftests/landlock/config.um | 1 +
tools/testing/selftests/landlock/fs_test.c | 387 +++++++++++++++++++++++++++--
9 files changed, 478 insertions(+), 144 deletions(-)
create mode 100644 tools/testing/selftests/landlock/config.um
_______________________________________________
linux-um mailing list
linux-um@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-um
next reply other threads:[~2023-06-26 8:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-26 8:48 Mickaël Salaün [this message]
2023-06-28 1:01 ` [GIT PULL] Landlock updates for v6.5 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=20230626084830.717289-1-mic@digikod.net \
--to=mic@digikod.net \
--cc=anton.ivanov@cambridgegreys.com \
--cc=gnoack3000@gmail.com \
--cc=johannes@sipsolutions.net \
--cc=konstantin.meskhidze@huawei.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=linux-um@lists.infradead.org \
--cc=richard@nod.at \
--cc=tglx@linutronix.de \
--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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).