summaryrefslogtreecommitdiffstats
path: root/security/landlock/limits.h
diff options
context:
space:
mode:
Diffstat (limited to 'security/landlock/limits.h')
-rw-r--r--security/landlock/limits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/landlock/limits.h b/security/landlock/limits.h
index 93c9c6f915..20fdb5ff35 100644
--- a/security/landlock/limits.h
+++ b/security/landlock/limits.h
@@ -18,7 +18,7 @@
#define LANDLOCK_MAX_NUM_LAYERS 16
#define LANDLOCK_MAX_NUM_RULES U32_MAX
-#define LANDLOCK_LAST_ACCESS_FS LANDLOCK_ACCESS_FS_TRUNCATE
+#define LANDLOCK_LAST_ACCESS_FS LANDLOCK_ACCESS_FS_IOCTL_DEV
#define LANDLOCK_MASK_ACCESS_FS ((LANDLOCK_LAST_ACCESS_FS << 1) - 1)
#define LANDLOCK_NUM_ACCESS_FS __const_hweight64(LANDLOCK_MASK_ACCESS_FS)
#define LANDLOCK_SHIFT_ACCESS_FS 0