diff options
author | eggz | 2020-02-13 08:30:56 +0100 |
---|---|---|
committer | eggz | 2020-02-13 08:30:56 +0100 |
commit | f5832b2f20c88f529de299f6f4e06af8fb072a6f (patch) | |
tree | 6eb7c986e64ffff6024ac3364d239605acb5749e | |
parent | 79a62e4e8ee4a27506c80ec0e28cb67edaa9894c (diff) | |
download | aur-f5832b2f20c88f529de299f6f4e06af8fb072a6f.tar.gz |
Implemented structleak
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | config.x86_64 | 15 |
3 files changed, 14 insertions, 9 deletions
@@ -1,6 +1,6 @@ pkgbase = linux-amd-raven pkgver = 5.4.v.19 - pkgrel = 1 + pkgrel = 2 url = https://www.kernel.org/ arch = x86_64 license = GPL2 @@ -17,7 +17,7 @@ pkgbase = linux-amd-raven source = linux-amd-raven.preset source = 5012_enable-cpu-optimizations-for-gcc91.patch sha256sums = SKIP - sha256sums = 2af731c40d81302395e11babfe9dc778f514a71e3d11e21fb57c4709fe2f9a63 + sha256sums = 69d728266824eacc25d4b571eb30e0d54ebd3028331d2bc8868470c1492c0062 sha256sums = 0ac0cf410b0f3eeaa07d41505613e118ea59e01144e905f2dc0a808379f87e87 sha256sums = fb98e49d7a640e05bf0d3a65ca49d0adb19de7547cb7ffca7a6cbacb1f461f0b @@ -4,7 +4,7 @@ pkgbase=linux-amd-raven _srcname=linux gitver=v5.4.19 pkgver=5.4.v.19 -pkgrel=1 +pkgrel=2 arch=('x86_64') url="https://www.kernel.org/" license=('GPL2') @@ -23,7 +23,7 @@ source=('git+https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git' '5012_enable-cpu-optimizations-for-gcc91.patch') sha256sums=('SKIP' #config.x86_64 - '2af731c40d81302395e11babfe9dc778f514a71e3d11e21fb57c4709fe2f9a63' + '69d728266824eacc25d4b571eb30e0d54ebd3028331d2bc8868470c1492c0062' #.preset file '0ac0cf410b0f3eeaa07d41505613e118ea59e01144e905f2dc0a808379f87e87' #patch file diff --git a/config.x86_64 b/config.x86_64 index 8032ff77504e..e9471df7d2a2 100644 --- a/config.x86_64 +++ b/config.x86_64 @@ -4,10 +4,10 @@ # # -# Compiler: gcc (GCC) 9.2.0 +# Compiler: gcc (Arch Linux 9.2.1+20200130-2) 9.2.1 20200130 # CONFIG_CC_IS_GCC=y -CONFIG_GCC_VERSION=90200 +CONFIG_GCC_VERSION=90201 CONFIG_CLANG_VERSION=0 CONFIG_CC_CAN_LINK=y CONFIG_CC_HAS_ASM_GOTO=y @@ -8652,15 +8652,20 @@ CONFIG_LSM="yama,loadpin,safesetid,integrity" # # Kernel hardening options # +CONFIG_GCC_PLUGIN_STRUCTLEAK=y # # Memory initialization # -CONFIG_INIT_STACK_NONE=y +# CONFIG_INIT_STACK_NONE is not set # CONFIG_GCC_PLUGIN_STRUCTLEAK_USER is not set # CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF is not set -# CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL is not set -# CONFIG_GCC_PLUGIN_STACKLEAK is not set +CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL=y +# CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE is not set +CONFIG_GCC_PLUGIN_STACKLEAK=y +CONFIG_STACKLEAK_TRACK_MIN_SIZE=100 +# CONFIG_STACKLEAK_METRICS is not set +# CONFIG_STACKLEAK_RUNTIME_DISABLE is not set # CONFIG_INIT_ON_ALLOC_DEFAULT_ON is not set # CONFIG_INIT_ON_FREE_DEFAULT_ON is not set # end of Memory initialization |