build failure with current linus tree
With current linus git (commit a25a2b84), I got following build error,
arch/x86/kernel/vm86_32.c: In function ??do_sys_vm86??:arch/x86/kernel/vm86_32.c:340: error: implicit declaration of function ??__audit_syscall_exit?? make[3]: *** [arch/x86/kernel/vm86_32.o] Error 1
I do not have CONFIG_AUDITSYSCALL in my .config.
Regards,
Jongman. ���{.n�+�������+%�����ݶ��w��{.n�+����{��G�����{ay�ʇڙ�,j��f���h��������z_�(�階�ݢj"���m������G������?����&���~��iO��z��v�^�m����������?�I�
Quoted 8 lines · JONGMAN HEO
With current linus git (commit
a25a2b84), I got following build error,
arch/x86/kernel/vm86_32.c: In function ??do_sys_vm86??:arch/x86/kernel/vm86_32.c:340: error: implicit declaration of function ??__audit_syscall_exit?? make[3]: *** [arch/x86/kernel/vm86_32.o] Error 1I do not have
CONFIG_AUDITSYSCALLin my .config.
Um... OK, I can reproduce it (32bit allmodconfig with AUDIT=y, AUDITSYSCALL=n) Crap... It's "Audit: push audit success and retcode into arch ptrace.h".
---
arch/x86/kernel/vm86_32.c +2 -0
@@ -336,8 +336,10 @@ static void do_sys_vm86(struct kernel_vm86_struct *info, struct task_struct *tskmark_screen_rdonly (tsk->mm);/*call __audit_syscall_exit since we do not exit via the normal paths */ +#ifdef CONFIG_AUDITSYSCALL if (unlikely (current->audit_context))__audit_syscall_exit (1 ,0 ); +#endif __asm__ __volatile__( "movl %0,%%esp\n\t"