From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenter Roeck Subject: Re: linux-next: Tree for Sep 19 Date: Sat, 20 Sep 2014 14:01:39 -0700 Message-ID: <541DEB33.2070508@roeck-us.net> References: <20140919165817.225eb8b8@canb.auug.org.au> <20140919191514.GA5358@roeck-us.net> <541DD754.4040000@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from bh-25.webhostbox.net ([208.91.199.152]:41355 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756723AbaITVBy (ORCPT ); Sat, 20 Sep 2014 17:01:54 -0400 Received: from mailnull by bh-25.webhostbox.net with sa-checked (Exim 4.82) (envelope-from ) id 1XVRn0-003Bhi-7n for linux-next@vger.kernel.org; Sat, 20 Sep 2014 21:01:54 +0000 In-Reply-To: <541DD754.4040000@gmx.de> Sender: linux-next-owner@vger.kernel.org List-ID: To: Helge Deller , Stephen Rothwell Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Ingo Molnar On 09/20/2014 12:36 PM, Helge Deller wrote: > Hi G=FCnter, > > On 09/19/2014 09:15 PM, Guenter Roeck wrote: >> On Fri, Sep 19, 2014 at 04:58:17PM +1000, Stephen Rothwell wrote: >>> Changes since 20140917: >>> >>> The fsl tree still had its build failure so I used the version from >>> next-20140917. >>> >>> The v4l-dvb tree lost its build failure. >>> >>> The security tree gained a conflict against the file-locks tree. >>> >>> Non-merge commits (relative to Linus' tree): 6014 >>> 5488 files changed, 217522 insertions(+), 129375 deletions(-) >>> >>> -------------------------------------------------------------------= --------- >>> >> >> parisc:defconfig, parisc:generic-32bit_defconfig: >> >> -------------- >> Error log: >> arch/parisc/kernel/ptrace.c: In function 'do_syscall_trace_enter': >> arch/parisc/kernel/ptrace.c:274:2: error: implicit declaration of fu= nction >> 'secure_computing' [-Werror=3Dimplicit-function-declaration] >> cc1: some warnings being treated as errors >> make[1]: *** [arch/parisc/kernel/ptrace.o] Error 1 >> >> Bisect points to commit 273299fb6380 ('Merge branch 'x86/seccomp') w= hich >> obviously doesn't help much. Suspected culprit is c90f06943e05 ('par= isc: Wire up >> seccomp, getrandom and memfd_create syscalls') which seems to be mis= sing an >> include file. > > I could not reproduce this error with current git head. > With next-20140919 ? > Nevertheless, it probably makes sense to #include i= n ptrace.c to > avoid a dependency on other header files to include it instead. > I've added this patch to my for-next tree: > http://git.kernel.org/cgit/linux/kernel/git/deller/parisc-linux.git/c= ommit/?h=3Dfor-next&id=3D0f18557b017b3469e1f8edf5cf34c1cba856fdbe > > Could you try again? > That doesn't solve the problem for me, most likely because HAVE_ARCH_SECCOMP_FILTER is not set for parisc in next-20140919. This is what seccomp.h does with it: #ifdef CONFIG_HAVE_ARCH_SECCOMP_FILTER static inline int secure_computing(void) { return 0; } #else static inline void secure_computing_strict(int this_syscall) { return; = } #endif You don't have this flag in your tree. It was introduced in -next with commit 'seccomp,x86,arm,mips,s390: Remove nr parameter from secure_comp= uting'. Guenter