ARM64: configs: Disable CONFIG_FORTIFY_SOURCE

This build option is broken for clang and upstream removed it in commit
9000f2a528c0 ("fortify: Explicitly disable Clang support") so we have to
also remove it for the gki defconfigs.

Fixes: 9000f2a528c0 ("fortify: Explicitly disable Clang support")
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I8d4a1d38b736ee1fd4a6febfbab4d1a3c1c4d351
fourteen
Greg Kroah-Hartman 3 years ago committed by Simon1511
parent abeea7a1bb
commit ef682af05f
  1. 2
      arch/arm64/configs/vendor/lineage-a52q_defconfig
  2. 2
      arch/arm64/configs/vendor/lineage-a72q_defconfig

@ -6382,7 +6382,7 @@ CONFIG_LSM_MMAP_MIN_ADDR=32768
CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y
CONFIG_HARDENED_USERCOPY=y
# CONFIG_HARDENED_USERCOPY_PAGESPAN is not set
CONFIG_FORTIFY_SOURCE=y
# CONFIG_FORTIFY_SOURCE is not set
CONFIG_STATIC_USERMODEHELPER=y
CONFIG_STATIC_USERMODEHELPER_PATH="/system/bin/umh/usermode-helper-replica"
CONFIG_SECURITY_SELINUX=y

@ -6380,7 +6380,7 @@ CONFIG_LSM_MMAP_MIN_ADDR=32768
CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y
CONFIG_HARDENED_USERCOPY=y
# CONFIG_HARDENED_USERCOPY_PAGESPAN is not set
CONFIG_FORTIFY_SOURCE=y
# CONFIG_FORTIFY_SOURCE is not set
CONFIG_STATIC_USERMODEHELPER=y
CONFIG_STATIC_USERMODEHELPER_PATH="/system/bin/umh/usermode-helper-replica"
CONFIG_SECURITY_SELINUX=y

Loading…
Cancel
Save