[GIT PULL] Landlock fixes for v6.8-rc5

From: Mickaël Salaün
Date: Wed Feb 14 2024 - 11:45:29 EST


Hi Linus,

This PR fixes build issues for tests, and improve test compatibility.

Please pull these changes for v6.8-rc5. These 3 commits merged cleanly with
your master branch. The kernel code has been tested in the latest linux-next
releases for a few weeks.

Regards,
Mickaël

--
The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d:

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

are available in the Git repository at:

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

for you to fetch changes up to bb6f4dbe2639d5b8a9fde4bfb6fefecfd3f18df3:

selftests/landlock: Fix capability for net_test (2024-02-02 10:32:09 +0100)

----------------------------------------------------------------
Landlock fixes for v6.8-rc5

----------------------------------------------------------------
Hu Yadi (2):
selftests/landlock: Fix net_test build with old libc
selftests/landlock: Fix fs_test build with old libc

Mickaël Salaün (1):
selftests/landlock: Fix capability for net_test

tools/testing/selftests/landlock/common.h | 48 ++++++++++++++++++++++++-----
tools/testing/selftests/landlock/fs_test.c | 11 +++++--
tools/testing/selftests/landlock/net_test.c | 13 ++++++--
3 files changed, 59 insertions(+), 13 deletions(-)