diff options
author | Boohbah | 2016-05-05 21:28:33 +0000 |
---|---|---|
committer | Boohbah | 2016-05-05 21:28:33 +0000 |
commit | 2069f2482ad808cd64b330fbfade6769f889548f (patch) | |
tree | fb1a3522a6f098e391d6bca2246e39d7eda2dc4e | |
parent | 3e863548ff1b4ee5a6a47c22bd4eefbbca7cf5d1 (diff) | |
download | aur-2069f2482ad808cd64b330fbfade6769f889548f.tar.gz |
Add objtool and CONFIG_STACK_VALIDATION
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | config.x86_64 | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Mon May 2 22:20:51 UTC 2016 +# Thu May 5 21:27:40 UTC 2016 pkgbase = linux-git pkgver = 4.6rc6.r72.g33656a1 pkgrel = 1 @@ -2,6 +2,7 @@ # Contributor: Tobias Powalowski <tpowa@archlinux.org> # Contributor: Thomas Baechler <thomas@archlinux.org> # Contributor: Jonathan Chan <jyc@fastmail.fm> +# Contributor: misc <tastky@gmail.com> pkgbase=linux-git _srcname=linux @@ -232,6 +233,10 @@ _package-headers() { # Fix file conflict with -doc package rm "${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/kbuild"/Kconfig.*-* + # Add objtool for CONFIG_STACK_VALIDATION + mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/tools" + cp -a tools/objtool "${pkgdir}/usr/lib/modules/${_kernver}/build/tools" + chown -R root.root "${pkgdir}/usr/lib/modules/${_kernver}/build" find "${pkgdir}/usr/lib/modules/${_kernver}/build" -type d -exec chmod 755 {} \; diff --git a/config.x86_64 b/config.x86_64 index a6fdcd9916f6..66f159c021a6 100644 --- a/config.x86_64 +++ b/config.x86_64 @@ -7288,7 +7288,7 @@ CONFIG_DEBUG_FS=y CONFIG_SECTION_MISMATCH_WARN_ONLY=y CONFIG_ARCH_WANT_FRAME_POINTERS=y CONFIG_FRAME_POINTER=y -# CONFIG_STACK_VALIDATION is not set +CONFIG_STACK_VALIDATION=y # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set CONFIG_MAGIC_SYSRQ=y CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x0 |