Commit Diff


commit - b2287bd22d374e7f6175af081104e50ac09129d3
commit + 3530f6ee16aaaddef48c026e2dab926bd7f2ef36
blob - 1bae9a36e82c0db63d54c56e6bdd3108eb0bc5d9
blob + b6c32dad6cdbc3675520fd2632841f96ab8be1c7
--- compat/landlock.c
+++ compat/landlock.c
@@ -69,18 +69,18 @@ landlock_no_fs(void)
 		 * Failure in doing so will implicitly allow those actions
 		 * (i.e. omitting READ_FILE will allow to read _any_ file.)
 		 */
-		.handled_access_fs = LANDLOCK_ACCESS_FS_EXECUTE | \
-				     LANDLOCK_ACCESS_FS_READ_FILE | \
-				     LANDLOCK_ACCESS_FS_READ_DIR | \
-				     LANDLOCK_ACCESS_FS_WRITE_FILE | \
-				     LANDLOCK_ACCESS_FS_REMOVE_DIR | \
-				     LANDLOCK_ACCESS_FS_REMOVE_FILE | \
-				     LANDLOCK_ACCESS_FS_MAKE_CHAR | \
-				     LANDLOCK_ACCESS_FS_MAKE_DIR | \
-				     LANDLOCK_ACCESS_FS_MAKE_REG | \
-				     LANDLOCK_ACCESS_FS_MAKE_SOCK | \
-				     LANDLOCK_ACCESS_FS_MAKE_FIFO | \
-				     LANDLOCK_ACCESS_FS_MAKE_BLOCK | \
+		.handled_access_fs = LANDLOCK_ACCESS_FS_EXECUTE |
+				     LANDLOCK_ACCESS_FS_READ_FILE |
+				     LANDLOCK_ACCESS_FS_READ_DIR |
+				     LANDLOCK_ACCESS_FS_WRITE_FILE |
+				     LANDLOCK_ACCESS_FS_REMOVE_DIR |
+				     LANDLOCK_ACCESS_FS_REMOVE_FILE |
+				     LANDLOCK_ACCESS_FS_MAKE_CHAR |
+				     LANDLOCK_ACCESS_FS_MAKE_DIR |
+				     LANDLOCK_ACCESS_FS_MAKE_REG |
+				     LANDLOCK_ACCESS_FS_MAKE_SOCK |
+				     LANDLOCK_ACCESS_FS_MAKE_FIFO |
+				     LANDLOCK_ACCESS_FS_MAKE_BLOCK |
 				     LANDLOCK_ACCESS_FS_MAKE_SYM,
 	};
 	int fd, saved_errno;