2023-06-26 09:03:51

by Mickaël Salaün

[permalink] [raw]
Subject: [GIT PULL] Landlock updates for v6.5

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/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/

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


2023-06-28 01:17:29

by pr-tracker-bot

[permalink] [raw]
Subject: Re: [GIT PULL] Landlock updates for v6.5

The pull request you sent on Mon, 26 Jun 2023 10:48:30 +0200:

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

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

Thank you!

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