From 2a1dd184b7d78d5c37a0c9a34b13ec69a4b16e04 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Fri, 6 Sep 2024 23:10:45 +0200 Subject: [PATCH] kernel: Activate POSIX ACL for f2fs, jffs2 and tmpfs When CONFIG_USE_FS_ACL_ATTR is set we will also activate POSIX ACL support for the f2fs, jffs2 and tmpfs file system. This option is activated on all targets with big flash. Link: https://github.com/openwrt/openwrt/pull/16181 Signed-off-by: Hauke Mehrtens --- config/Config-kernel.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config/Config-kernel.in b/config/Config-kernel.in index fdc5850bde..4bd2cde135 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -1250,8 +1250,8 @@ menu "Filesystem ACL and attr support options" default y if !SMALL_FLASH help Make using ACLs (e.g. POSIX ACL, NFSv4 ACL) the default - for kernel and packages, except tmpfs, flash filesystems, - and old NFS. Also enable userspace extended attribute support + for kernel and packages, except old NFS. + Also enable userspace extended attribute support by default. (OpenWrt already has an expection it will be present in the kernel). @@ -1272,14 +1272,17 @@ menu "Filesystem ACL and attr support options" config KERNEL_F2FS_FS_POSIX_ACL bool "Enable POSIX ACL for F2FS Filesystems" select KERNEL_FS_POSIX_ACL + default y if USE_FS_ACL_ATTR config KERNEL_JFFS2_FS_POSIX_ACL bool "Enable POSIX ACL for JFFS2 Filesystems" select KERNEL_FS_POSIX_ACL + default y if USE_FS_ACL_ATTR config KERNEL_TMPFS_POSIX_ACL bool "Enable POSIX ACL for TMPFS Filesystems" select KERNEL_FS_POSIX_ACL + default y if USE_FS_ACL_ATTR config KERNEL_CIFS_ACL bool "Enable CIFS ACLs"