From c42f29fb7d319c08ea66a8b4e26d6125361cff41 Mon Sep 17 00:00:00 2001 From: Mickaël Salaün Date: Thu, 3 Jul 2025 16:37:04 +0200 Subject: sys/linux/test: fix sandbox restrictions for Landlock tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The setuid sandboxes are not correct because some tests require mount. Let's make it simple and remove them. After all, Landlock is available to any user. Signed-off-by: Mickaël Salaün --- sys/linux/test/landlock_sb_delete | 3 --- 1 file changed, 3 deletions(-) (limited to 'sys/linux/test/landlock_sb_delete') diff --git a/sys/linux/test/landlock_sb_delete b/sys/linux/test/landlock_sb_delete index a45042b8a..07490505a 100644 --- a/sys/linux/test/landlock_sb_delete +++ b/sys/linux/test/landlock_sb_delete @@ -1,7 +1,4 @@ # Creates a new mount point. -# -# Mounting requires some privileges: -# requires: -sandbox=setuid mkdirat(0xffffffffffffff9c, &AUTO='./file0\x00', 0x1c0) mount$tmpfs(0x0, &AUTO='./file0\x00', &AUTO='tmpfs\x00', 0x0, 0x0) -- cgit mrf-deployment