From 480343e1de137ad8324bd229004116cf18d496c4 Mon Sep 17 00:00:00 2001 From: Robert Schwebel Date: Mon, 11 Mar 2019 07:27:53 +0100 Subject: platform v7a: enable FORTIFY_SOURCES The platform supports this hardening option, enable it. Signed-off-by: Robert Schwebel --- configs/platform-v7a/kernelconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'configs') diff --git a/configs/platform-v7a/kernelconfig b/configs/platform-v7a/kernelconfig index 8cca339..6859bfb 100644 --- a/configs/platform-v7a/kernelconfig +++ b/configs/platform-v7a/kernelconfig @@ -2978,7 +2978,7 @@ CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y CONFIG_HARDENED_USERCOPY=y CONFIG_HARDENED_USERCOPY_FALLBACK=y # CONFIG_HARDENED_USERCOPY_PAGESPAN is not set -# CONFIG_FORTIFY_SOURCE is not set +CONFIG_FORTIFY_SOURCE=y # CONFIG_STATIC_USERMODEHELPER is not set CONFIG_DEFAULT_SECURITY_DAC=y CONFIG_DEFAULT_SECURITY="" @@ -3355,7 +3355,6 @@ CONFIG_FUNCTION_GRAPH_TRACER=y # CONFIG_TRACER_SNAPSHOT is not set CONFIG_BRANCH_PROFILE_NONE=y # CONFIG_PROFILE_ANNOTATED_BRANCHES is not set -# CONFIG_PROFILE_ALL_BRANCHES is not set # CONFIG_STACK_TRACER is not set # CONFIG_BLK_DEV_IO_TRACE is not set # CONFIG_UPROBE_EVENTS is not set -- cgit v1.2.3