Re: [tip:x86/seccomp] seccomp,x86,arm,mips,s390: Remove nr parameter from secure_computing

Andy Lutomirski
2014-09-16T22:58:14Z

On Mon, Sep 15, 2014 at 11:34 PM, Ingo Molnar <mingo@kernel.org> wrote:
>
> * tip-bot for Andy Lutomirski <tipbot@zytor.com> wrote:
>
>> Commit-ID: a4412fc9486ec85686c6c7929e7e829f62ae377e
>> Gitweb: http://git.kernel.org/tip/a4412fc9486ec85686c6c7929e7e829f62ae377e
>> Author: Andy Lutomirski <luto@amacapital.net>
>> AuthorDate: Mon, 21 Jul 2014 18:49:14 -0700
>> Committer: Kees Cook <keescook@chromium.org>
>> CommitDate: Wed, 3 Sep 2014 14:58:17 -0700
>>
>> seccomp,x86,arm,mips,s390: Remove nr parameter from secure_computing
>
> So, this commit in -tip, combined with Linus's latest
> (v3.17-rc5), produces this build failure or arch/parisc
> defconfig:
>
> /home/mingo/tip/arch/parisc/kernel/ptrace.c: In function 'do_syscall_trace_enter':
> /home/mingo/tip/arch/parisc/kernel/ptrace.c:274: error: implicit declaration of function 'secure_computing'
> make[2]: *** [arch/parisc/kernel/ptrace.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[1]: *** [arch/parisc/kernel] Error 2
>
> My guess is that the interaction was caused by:
>
> c90f06943e05 parisc: Wire up seccomp, getrandom and memfd_create syscalls

I guess this something like this was unavoidable. Here's a fix:

http://lkml.kernel.org/g/db9b257536558b5f068e97717bb0f25bcc603ae4.1410883257.git.luto@amacapital.net

--Andy