Skip to content

Commit

Permalink
Add missing permission to create files
Browse files Browse the repository at this point in the history
  • Loading branch information
jcpunk committed May 30, 2024
1 parent 8bad3e2 commit fbc3b28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/C/kcron_landlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void set_kcron_landlock(void) {
};

struct landlock_path_beneath_attr path_beneath = {
.allowed_access = LANDLOCK_ACCESS_FS_WRITE_FILE | LANDLOCK_ACCESS_FS_READ_FILE | LANDLOCK_ACCESS_FS_READ_DIR | LANDLOCK_ACCESS_FS_MAKE_DIR,
.allowed_access = LANDLOCK_ACCESS_FS_WRITE_FILE | LANDLOCK_ACCESS_FS_READ_FILE | LANDLOCK_ACCESS_FS_READ_DIR | LANDLOCK_ACCESS_FS_MAKE_DIR | LANDLOCK_ACCESS_FS_MAKE_FILE,
};

/* verify memory can be allocated */
Expand Down

0 comments on commit fbc3b28

Please sign in to comment.