Re: [PATCHv10 2/5] x86: Hook up execveat system call.
From: Thomas Gleixner <hidden>
Date: 2014-11-24 18:56:54
Also in:
linux-arch, lkml, sparclinux
On Mon, 24 Nov 2014, Dan Carpenter wrote:
On Mon, Nov 24, 2014 at 11:53:56AM +0000, David Drysdale wrote:quoted
Hook up x86-64, i386 and x32 ABIs. Signed-off-by: David Drysdale <redacted>This one has been breaking my linux-next build for the past week. I'm not sure what's going on. I build with a script: make allmodconfig cat << EOF >> .config CONFIG_DYNAMIC_DEBUG=n CONFIG_DEBUG_STRICT_USER_COPY_CHECKS=n CONFIG_DYNAMIC_DEBUG=y EOF make oldconfig Here are the errors: CHK include/generated/compile.h CHECK arch/x86/ia32/audit.c CC arch/x86/ia32/audit.o arch/x86/ia32/audit.c: In function ‘ia32_classify_syscall’: arch/x86/ia32/audit.c:38:7: error: ‘__NR_execveat’ undeclared (first use in this function) arch/x86/ia32/audit.c:38:7: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [arch/x86/ia32/audit.o] Error 1 make[2]: Target `__build' not remade because of errors. make[1]: *** [arch/x86/ia32] Error 2 CHECK arch/x86/kernel/audit_64.c CHK kernel/config_data.h CC arch/x86/kernel/audit_64.o arch/x86/kernel/audit_64.c: In function ‘audit_classify_syscall’: arch/x86/kernel/audit_64.c:53:7: error: ‘__NR_execveat’ undeclared (first use in this function) arch/x86/kernel/audit_64.c:53:7: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [arch/x86/kernel/audit_64.o] Error 1 make[2]: Target `__build' not remade because of errors. make[1]: *** [arch/x86/kernel] Error 2 make[1]: Target `__build' not remade because of errors.
I don't know what you're doing. Tried the above and it rebuilds the relevant unistd*.h files and compiles happily. Thanks, tglx