Re: [PATCHv10 2/5] x86: Hook up execveat system call.

From: Dan Carpenter
Date: Mon Nov 24 2014 - 12:07:51 EST


On Mon, Nov 24, 2014 at 11:53:56AM +0000, David Drysdale wrote:
> Hook up x86-64, i386 and x32 ABIs.
>
> Signed-off-by: David Drysdale <drysdale@xxxxxxxxxx>

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.

regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/