[openwrt/openwrt] kernel: Activate POSIX ACL for f2fs, jffs2 and tmpfs
LEDE Commits
lede-commits at lists.infradead.org
Fri Sep 6 14:28:10 PDT 2024
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/2a1dd184b7d78d5c37a0c9a34b13ec69a4b16e04
commit 2a1dd184b7d78d5c37a0c9a34b13ec69a4b16e04
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Fri Sep 6 23:10:45 2024 +0200
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 <hauke at hauke-m.de>
---
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"
More information about the lede-commits
mailing list