From: sfr@canb.auug.org.au (Stephen Rothwell) Date: Sat, 28 Feb 2015 12:36:56 +1100 Subject: [PATCH] seccomp: switch to using asm-generic for seccomp.h In-Reply-To: <20150228005228.GA23638@www.outflux.net> References: <20150228005228.GA23638@www.outflux.net> Message-ID: <20150228123656.538301ef@canb.auug.org.au> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Kees, On Fri, 27 Feb 2015 16:52:29 -0800 Kees Cook wrote: > > diff --git a/arch/arm/include/asm/seccomp.h b/arch/arm/include/asm/seccomp.h > index 52b156b341f5..66ca6a30bf5c 100644 > --- a/arch/arm/include/asm/seccomp.h > +++ b/arch/arm/include/asm/seccomp.h > @@ -1,11 +1 @@ > -#ifndef _ASM_ARM_SECCOMP_H > -#define _ASM_ARM_SECCOMP_H > - > -#include > - > -#define __NR_seccomp_read __NR_read > -#define __NR_seccomp_write __NR_write > -#define __NR_seccomp_exit __NR_exit > -#define __NR_seccomp_sigreturn __NR_rt_sigreturn > - > -#endif /* _ASM_ARM_SECCOMP_H */ > +#include I think that these cases (where you replace the file by a stub that just include ) can be replaced by removing the file completely and adding generic-y = seccomp.h to /include/asm/Kbuild -- Cheers, Stephen Rothwell sfr at canb.auug.org.au -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: