@@ -1278,6 +1278,23 @@ config KERNEL_BTRFS_FS
12781278 Say Y here if you want to make the kernel to be able to boot off a
12791279 BTRFS partition.
12801280
1281+ config KERNEL_EROFS_FS
1282+ bool "Compile the kernel with built-in EROFS support"
1283+ help
1284+ Say Y here if you want to make the kernel to be able to boot off a
1285+ EROFS partition.
1286+
1287+ config KERNEL_EROFS_FS_XATTR
1288+ bool "EROFS XATTR support"
1289+
1290+ config KERNEL_EROFS_FS_ZIP
1291+ bool
1292+ default y if KERNEL_EROFS_FS
1293+
1294+ config KERNEL_EROFS_FS_ZIP_LZMA
1295+ bool
1296+ default y if KERNEL_EROFS_FS
1297+
12811298menu "Filesystem ACL and attr support options"
12821299 config USE_FS_ACL_ATTR
12831300 bool "Use filesystem ACL and attr support by default"
@@ -1298,6 +1315,11 @@ menu "Filesystem ACL and attr support options"
12981315 select KERNEL_FS_POSIX_ACL
12991316 default y if USE_FS_ACL_ATTR
13001317
1318+ config KERNEL_EROFS_FS_POSIX_ACL
1319+ bool "Enable POSIX ACL for EROFS Filesystems"
1320+ select KERNEL_FS_POSIX_ACL
1321+ default y if USE_FS_ACL_ATTR
1322+
13011323 config KERNEL_EXT4_FS_POSIX_ACL
13021324 bool "Enable POSIX ACL for Ext4 Filesystems"
13031325 select KERNEL_FS_POSIX_ACL
@@ -1440,6 +1462,11 @@ config KERNEL_LSM
14401462 default "lockdown,yama,loadpin,safesetid,integrity,selinux"
14411463 depends on KERNEL_SECURITY_SELINUX
14421464
1465+ config KERNEL_EROFS_FS_SECURITY
1466+ bool "EROFS Security Labels"
1467+ default y if !SMALL_FLASH
1468+ select KERNEL_EROFS_FS_XATTR
1469+
14431470config KERNEL_EXT4_FS_SECURITY
14441471 bool "Ext4 Security Labels"
14451472 default y if !SMALL_FLASH
0 commit comments