aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/test
diff options
context:
space:
mode:
authorMickaël Salaün <mic@linux.microsoft.com>2024-04-29 15:46:10 +0200
committerAleksandr Nogikh <nogikh@google.com>2024-04-29 16:00:16 +0000
commite812177d8b1ca6d501d010be1c4e7efff3cc011c (patch)
tree58993fd60a631b63b54d6b4fe43c23f0b4f4d14d /sys/linux/test
parentee51f7ac1dd0df7131343d099fd0b87aac42f360 (diff)
sys/linux: update the Landlock IOCTL access right
We renamed LANDLOCK_ACCESS_FS_IOCTL to LANDLOCK_ACCESS_FS_IOCTL_DEV, but the value is still the same. Signed-off-by: Mickaël Salaün <mic@linux.microsoft.com>
Diffstat (limited to 'sys/linux/test')
-rw-r--r--sys/linux/test/landlock_fs_ioctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/linux/test/landlock_fs_ioctl b/sys/linux/test/landlock_fs_ioctl
index bfdb3e916..35c16ef0e 100644
--- a/sys/linux/test/landlock_fs_ioctl
+++ b/sys/linux/test/landlock_fs_ioctl
@@ -2,7 +2,7 @@
mknodat(0xffffffffffffff9c, &AUTO='./file0\x00', 0x81c0, 0x0)
-# Creates a ruleset to restrict most filesystem IOCTLs: LANDLOCK_ACCESS_FS_IOCTL.
+# Creates a ruleset to restrict most filesystem IOCTLs: LANDLOCK_ACCESS_FS_IOCTL_DEV.
r0 = landlock_create_ruleset(&AUTO={0x8000, 0x0}, AUTO, 0x0)