Skip to content

Commit

Permalink
Merge pull request #60 from fermitools/landlock
Browse files Browse the repository at this point in the history
Use older compatible name
  • Loading branch information
jcpunk authored May 30, 2024
2 parents 8400b2f + 562299b commit b8d5805
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 | LANDLOCK_ACCESS_FS_MAKE_FILE,
.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_REG,
};

/* verify memory can be allocated */
Expand Down

0 comments on commit b8d5805

Please sign in to comment.