summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2019-07-10 08:36:22 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2019-07-10 08:36:22 -0700
commit8334ebf4609664c977d5b2ee0ee38c36ad1bb913 (patch)
tree5f1f83d8ccc200413608a89b2d58473dc1e9932d
parentUpdated to 5.2.0 (diff)
downloadlinux-8334ebf4609664c977d5b2ee0ee38c36ad1bb913.tar.xz
Enable stackleak plugin
-rw-r--r--PKGBUILD6
-rw-r--r--config.x86_645
2 files changed, 7 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e8bac4d..cd0bf73 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: jc_gargma <jc_gargma@iserlohn-fortress.net>
# Maintainer (Arch): Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Maintainer (Arch): Tobias Powalowski <tpowa@archlinux.org>
-# Contributor (Arch): Thomas Baechler <thomas@archlinux.org>
# Contributor: Aqua-sama <aqua@iserlohn-fortress.net>
+# Contributor (Arch): Thomas Baechler <thomas@archlinux.org>
# # I maintain this because:
# Arch version patch script does not apply consistently
@@ -24,7 +24,7 @@ _minver=0
fi
_gcc_more_v='20180509'
_srcname=linux-${pkgver}
-pkgrel=1
+pkgrel=2
url='https://kernel.org'
arch=('x86_64')
license=('GPL2')
@@ -57,7 +57,7 @@ sha256sums=('54ad66f672e1a831b574f5e704e8a05f1e6180a8245d4bdd811208a6cb0ac1e7'
'226e30068ea0fecdb22f337391385701996bfbdba37cdcf0f1dbf55f1080542d'
'e7ebf050c22bcec0028c0b3c79fd6d3913b0370ecc6a23dfe78ce475630cf503'
'0f81d6e4158b7beeb0eb514f1b9401f7e23699cb0f7b0d513e25dae1815daaeb'
- 'ec9cd087e4fe97e014fd5af7874d451bb6e56f2a9da63760049a353e63a890c1'
+ '20a16b9cc2e4e591e06ddcf55a729d2cb9b988dc5d9416a96dc2f838b296076a'
'ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21'
'75f99f5239e03238f88d1a834c50043ec32b1dc568f2cc291b07d04718483919'
'ad6344badc91ad0630caacde83f7f9b97276f80d26a20619a87952be65492c65')
diff --git a/config.x86_64 b/config.x86_64
index bd93c51..6fbe344 100644
--- a/config.x86_64
+++ b/config.x86_64
@@ -9725,7 +9725,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