generic: overlay: disable OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW

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>
This commit is contained in:
Shiji Yang 2026-04-27 19:46:58 +08:00 committed by Christian Marangi
parent 052665be21
commit 11ca5f3957
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7
2 changed files with 2 additions and 2 deletions

View 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

View 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