aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoohbah2016-05-05 21:28:33 +0000
committerBoohbah2016-05-05 21:28:33 +0000
commit2069f2482ad808cd64b330fbfade6769f889548f (patch)
treefb1a3522a6f098e391d6bca2246e39d7eda2dc4e
parent3e863548ff1b4ee5a6a47c22bd4eefbbca7cf5d1 (diff)
downloadaur-2069f2482ad808cd64b330fbfade6769f889548f.tar.gz
Add objtool and CONFIG_STACK_VALIDATION
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
-rw-r--r--config.x86_642
3 files changed, 7 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7eeb9790e0d9..53f415ab545c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 608f675a2581..c6c6f0dc1aa2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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