kernel/seccomp.c:55:23: error: 'NR_syscalls' undeclared

Kees Cook keescook at
Wed Nov 16 18:52:13 UTC 2011


Oh, er, I thought Tim was doing the seccomp rebase from what I had in which (I think)
fixed the NR_syscalls problem.

Or is that where you were already working from?


On Wed, Nov 16, 2011 at 10:43 AM, Leann Ogasawara
<leann.ogasawara at> wrote:
> Hi Kees and Will,
> I recently rebased the ubuntu-precise git tree to upstream v3.2-rc2.
> Unfortunately when doing some test cross-compiles on arm I hit the
> following build failure:
> kernel/seccomp.c: In function '__secure_computing':
> kernel/seccomp.c:55:23: error: 'NR_syscalls' undeclared (first use in this function)
> kernel/seccomp.c:55:23: note: each undeclared identifier is reported only once for each function it appears in
> make[3]: *** [kernel/seccomp.o] Error 1
> This is actually the same build error we were seeing in Oneiric when
> trying to enable seccomp on arm [1].  Care to send a patch to fix this
> up?  For now I've temporarily disabled the seccomp patches on arm in our
> ubuntu-precise git repo.
> Thanks,
> Leann
> [1]

Kees Cook
ChromeOS Security

More information about the kernel-team mailing list