]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
generic: overlay: disable OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW 23126/head
authorShiji Yang <yangshiji66@outlook.com>
Mon, 27 Apr 2026 11:46:58 +0000 (19:46 +0800)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 29 Apr 2026 07:34:31 +0000 (09:34 +0200)
The Kconfig symbol help text prompts:
  Disable this to get a possibly more secure configuration, but that
  might not be backward compatible with previous kernels.
  If backward compatibility is not an issue, then it is safe and
  recommended to say N here.

For OpenWrt, when updating firmware, we always update the kernel and
recreate the overlay partition. Therefore, compatibility is not a
problem.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/23126
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/generic/config-6.12
target/linux/generic/config-6.18

index 98fa67369c803ce232e265c28ce18e7930efd860..fd4b90aa681dd0fed8829f0ba513d1a6bcce256d 100644 (file)
@@ -4552,7 +4552,7 @@ CONFIG_OVERLAY_FS=y
 # CONFIG_OVERLAY_FS_DEBUG is not set
 # CONFIG_OVERLAY_FS_INDEX is not set
 # CONFIG_OVERLAY_FS_METACOPY is not set
-CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW=y
+# CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW is not set
 # CONFIG_OVERLAY_FS_REDIRECT_DIR is not set
 CONFIG_OVERLAY_FS_XINO_AUTO=y
 # CONFIG_P54_COMMON is not set
index 77657b53e1101f2fcd26b46318b2f7ff73a7b2fd..fbc54c3d780eb5ba61821f7fe3e5b0a6653a9661 100644 (file)
@@ -4709,7 +4709,7 @@ CONFIG_OVERLAY_FS=y
 # CONFIG_OVERLAY_FS_DEBUG is not set
 # CONFIG_OVERLAY_FS_INDEX is not set
 # CONFIG_OVERLAY_FS_METACOPY is not set
-CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW=y
+# CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW is not set
 # CONFIG_OVERLAY_FS_REDIRECT_DIR is not set
 CONFIG_OVERLAY_FS_XINO_AUTO=y
 # CONFIG_OVMF_DEBUG_LOG is not set