From e77150c2765f4326b92f3adc444579cc5625e1ae Mon Sep 17 00:00:00 2001 From: Jan Alexander Steffens Date: Wed, 10 Jul 2019 15:18:09 +0000 Subject: [PATCH] Enable stackleak --- PKGBUILD | 2 +- config | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 1ffd4be..c982a61 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -29,7 +29,7 @@ validpgpkeys=( '8218F88849AAC522E94CF470A5E9288C4FA415FA' # Jan Alexander Steffens (heftig) ) sha256sums=('SKIP' - '013defd92c7530724105f323a22ae484cfc4a9053bbdc8eb2260134d873d7d86' + '5dc432031db0b2b6640f0d4eab6c824594106dde9f44d1e5b979978109d13f0d' 'ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21' 'c043f3033bb781e2688794a59f6d1f7ed49ef9b13eb77ff9a425df33a244a636' 'ad6344badc91ad0630caacde83f7f9b97276f80d26a20619a87952be65492c65') diff --git a/config b/config index 454bcd4..bf841a7 100644 --- a/config +++ b/config @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 5.2.0-arch1 Kernel Configuration +# Linux/x86 5.2.0-arch2 Kernel Configuration # # @@ -9741,7 +9741,10 @@ CONFIG_GCC_PLUGIN_STRUCTLEAK=y # CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF is not set CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL=y # CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE is not set -# CONFIG_GCC_PLUGIN_STACKLEAK is not set +CONFIG_GCC_PLUGIN_STACKLEAK=y +CONFIG_STACKLEAK_TRACK_MIN_SIZE=100 +CONFIG_STACKLEAK_METRICS=y +CONFIG_STACKLEAK_RUNTIME_DISABLE=y # end of Memory initialization # end of Kernel hardening options # end of Security options