aboutsummaryrefslogtreecommitdiff
path: root/have/landlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'have/landlock.c')
-rw-r--r--have/landlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/have/landlock.c b/have/landlock.c
index 8be29bd..1e788a6 100644
--- a/have/landlock.c
+++ b/have/landlock.c
@@ -20,7 +20,7 @@ int
main(void)
{
int rfd;
- struct landlock_ruleset_attr rsattr = {
+ const struct landlock_ruleset_attr rsattr = {
.handled_access_fs = LANDLOCK_ACCESS_FS_READ_FILE |
LANDLOCK_ACCESS_FS_READ_DIR
};