[Trusty][pull-request] LP: #1379020 (seccomp tsync)

Kees Cook kees at ubuntu.com
Mon Oct 20 18:25:36 UTC 2014


Hi Luis,

On Mon, Oct 20, 2014 at 03:56:30PM +0100, Luis Henriques wrote:
> Hi Kees,
> 
> On Thu, Oct 09, 2014 at 08:03:43AM -0700, Kees Cook wrote:
> > Hi!
> > 
> > This is to backport the seccomp thread-sync (and syscall) interface from
> > 3.17. There was some backporting needed in a few areas, as marked in
> > []s before my SoB in the series. The most notable is skipping various
> > new syscalls (which are wired to sys_ni_syscall).
> > 
> > This has been tested against the seccomp regression test suite on
> > x86_64. I don't have a working Ubuntu ARM test environment, so that
> > is presently untested. The series is, however, based on the Chrome OS
> > backport to 3.14, which builds and works on ARM. In theory it should be
> > fine on Ubuntu too! :)
> > 
> 
> I haven't spent any time investigating it yet, but a quick build test
> of these patches on armhf is failing with:
> 
> /tmp/kernel-henrix-D2RCGTFC/build/arch/arm/kernel/entry-common.S: Assembler messages:
> /tmp/kernel-henrix-D2RCGTFC/build/arch/arm/kernel/entry-common.S:105: Error: __NR_syscalls is not equal to the size of the syscall table
> make[3]: *** [arch/arm/kernel/entry-common.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> 
> All the other archs seem to be building OK.

Ah-ha! Thanks for this. I will respin the series -- I found the problem.

-Kees

-- 
Kees Cook




More information about the kernel-team mailing list