linux-next: security-testing tree build failure
Subsystems (6)
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/
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: ExtendTIF_NOTIFY_RESUMEto (almost) all architectures [try #6]"). Presumably the include oflinux/tracehook.his 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/
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: ExtendTIF_NOTIFY_RESUMEto (almost) all architectures [try #6]"). Presumably the include oflinux/tracehook.his 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/
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/
PATCH 1/1 KEYS: Add missing linux/tracehook.h #inclusions
In reply to Stephen RothwellAdd #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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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>
Re: [PATCH] KEYS: Add missing linux/tracehook.h #inclusions
Quoted 5 lines · David Howells
Add #inclusions of
linux/tracehook.hto those arch files that had the tracehook call forTIF_NOTIFY_RESUMEadded when support for that flag was added to that arch.Signed-off-by David Howells <[email protected]>
Applied togit://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next
Signature · 2 lines
James Morris <[email protected]>
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/