Skip to contentSkip to conversation

linux-next: security-testing tree build failure

PATCH In review Stephen Rothwell 3 participants 7 messages Sep 7, 2009 – Sep 9, 2009

Subsystems (6)
lore
Share & tools
lore
#0 lore raw

Hi David,

Today's linux-next build (arm lots of configs) failed like this:

arch/arm/kernel/signal.c: In function 'do_notify_resume':
arch/arm/kernel/signal.c:701: error: implicit declaration of function 'tracehook_notify_resume'

Caused by commit d0420c83f39f79afb82010c2d2cafd150eef651b ("KEYS: Extend TIF_NOTIFY_RESUME to (almost) all architectures [try #6]"). Presumably the include of linux/tracehook.h is missing.

Signature · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/
#1 lore raw
Quoted 9 lines · On Mon, 7 Sep 2009 23:40:28 +1000 Stephen Rothwell <[email protected]> wrote:

Today's linux-next build (arm lots of configs) failed like this:

arch/arm/kernel/signal.c: In function 'do_notify_resume':
arch/arm/kernel/signal.c:701: error: implicit declaration of function 'tracehook_notify_resume'

Caused by commit d0420c83f39f79afb82010c2d2cafd150eef651b ("KEYS: Extend TIF_NOTIFY_RESUME to (almost) all architectures [try #6]"). Presumably the include of linux/tracehook.h is missing.

The avr32 defconfig build fails the same way as well. Thee may be others, that is as far as we have gone so far.

Signature · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/
#2 lore raw

Hi James, David,

Quoted 8 lines · On Mon, 7 Sep 2009 23:43:31 +1000 Stephen Rothwell <[email protected]> wrote:
Quoted 6 lines · On Mon, 7 Sep 2009 23:40:28 +1000 Stephen Rothwell <[email protected]> wrote:

Today's linux-next build (arm lots of configs) failed like this:

arch/arm/kernel/signal.c: In function 'do_notify_resume':
arch/arm/kernel/signal.c:701: error: implicit declaration of function 'tracehook_notify_resume'

Quoted 6 lines
Quoted 3 lines

Caused by commit d0420c83f39f79afb82010c2d2cafd150eef651b ("KEYS: Extend TIF_NOTIFY_RESUME to (almost) all architectures [try #6]"). Presumably the include of linux/tracehook.h is missing.

The avr32 defconfig build fails the same way as well. Thee may be others, that is as far as we have gone so far.

This also broke the alpha and mips builds. I am going to use the version of the security-testing tree from next-20090902 (the latest version I have before the above commit was added) for today.

Signature · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/
#3 lore raw

Hi James, David,

Quoted 2 lines · On Tue, 8 Sep 2009 10:40:12 +1000 Stephen Rothwell <[email protected]> wrote:

This also broke the alpha and mips builds. I am going to use the version

And cris :-(

Signature · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/
#4 lore raw

PATCH 1/1 KEYS: Add missing linux/tracehook.h #inclusions

In reply to Stephen Rothwell

Add #inclusions of linux/tracehook.h to those arch files that had the tracehook call for TIF_NOTIFY_RESUME added when support for that flag was added to that arch.

---

 arch/alpha/kernel/signal.c  |    1 +
 arch/arm/kernel/signal.c    |    1 +
 arch/avr32/kernel/signal.c  |    1 +
 arch/cris/kernel/ptrace.c   |    1 +
 arch/h8300/kernel/signal.c  |    1 +
 arch/m32r/kernel/signal.c   |    1 +
 arch/mips/kernel/signal.c   |    1 +
 arch/parisc/kernel/signal.c |    1 +
 8 files changed, 8 insertions(+), 0 deletions(-)
arch/alpha/kernel/signal.c +1 -0
index d91aaa7..0932dbb 100644
@@ -20,6 +20,7 @@
 #include <linux/binfmts.h>
 #include <linux/bitops.h>
 #include <linux/syscalls.h>
+#include <linux/tracehook.h>
 
 #include <asm/uaccess.h>
 #include <asm/sigcontext.h>
arch/arm/kernel/signal.c +1 -0
index ea4ad3a..b76fe06 100644
@@ -12,6 +12,7 @@
 #include <linux/personality.h>
 #include <linux/freezer.h>
 #include <linux/uaccess.h>
+#include <linux/tracehook.h>
 
 #include <asm/elf.h>
 #include <asm/cacheflush.h>
arch/avr32/kernel/signal.c +1 -0
index de9f7fe..64f886f 100644
@@ -16,6 +16,7 @@
 #include <linux/ptrace.h>
 #include <linux/unistd.h>
 #include <linux/freezer.h>
+#include <linux/tracehook.h>
 
 #include <asm/uaccess.h>
 #include <asm/ucontext.h>
arch/cris/kernel/ptrace.c +1 -0
index 32e9d5e..48b0f39 100644
@@ -16,6 +16,7 @@
 #include <linux/errno.h>
 #include <linux/ptrace.h>
 #include <linux/user.h>
+#include <linux/tracehook.h>
 
 #include <asm/uaccess.h>
 #include <asm/page.h>
arch/h8300/kernel/signal.c +1 -0
index abac3ee..af842c3 100644
@@ -39,6 +39,7 @@
 #include <linux/tty.h>
 #include <linux/binfmts.h>
 #include <linux/freezer.h>
+#include <linux/tracehook.h>
 
 #include <asm/setup.h>
 #include <asm/uaccess.h>
arch/m32r/kernel/signal.c +1 -0
index f80bac1..144b0f1 100644
@@ -21,6 +21,7 @@
 #include <linux/stddef.h>
 #include <linux/personality.h>
 #include <linux/freezer.h>
+#include <linux/tracehook.h>
 #include <asm/cacheflush.h>
 #include <asm/ucontext.h>
 #include <asm/uaccess.h>
arch/mips/kernel/signal.c +1 -0
index c2acf31..6254041 100644
@@ -21,6 +21,7 @@
 #include <linux/compiler.h>
 #include <linux/syscalls.h>
 #include <linux/uaccess.h>
+#include <linux/tracehook.h>
 
 #include <asm/abi.h>
 #include <asm/asm.h>
arch/parisc/kernel/signal.c +1 -0
index 5ca1c02..8eb3c63 100644
@@ -25,6 +25,7 @@
 #include <linux/stddef.h>
 #include <linux/compat.h>
 #include <linux/elf.h>
+#include <linux/tracehook.h>
 #include <asm/ucontext.h>
 #include <asm/rt_sigframe.h>
 #include <asm/uaccess.h>
#5 lore raw

Re: [PATCH] KEYS: Add missing linux/tracehook.h #inclusions

Quoted 5 lines · David Howells

Add #inclusions of linux/tracehook.h to those arch files that had the tracehook call for TIF_NOTIFY_RESUME added when support for that flag was added to that arch.

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next

Signature · 2 lines
James Morris
<[email protected]>
#6 lore raw

Re: [PATCH] KEYS: Add missing linux/tracehook.h #inclusions

Hi James, David,

Quoted 3 lines · On Wed, 9 Sep 2009 18:38:55 +1000 (EST) James Morris <[email protected]> wrote:

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next

Thanks guys.

Signature · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/