* build failure with current linus tree
@ 2012-01-18 1:17 JONGMAN HEO
2012-01-18 1:51 ` Al Viro
0 siblings, 1 reply; 2+ messages in thread
From: JONGMAN HEO @ 2012-01-18 1:17 UTC (permalink / raw)
To: linux-kernel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 503 bytes --]
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Ç+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: build failure with current linus tree
2012-01-18 1:17 build failure with current linus tree JONGMAN HEO
@ 2012-01-18 1:51 ` Al Viro
0 siblings, 0 replies; 2+ messages in thread
From: Al Viro @ 2012-01-18 1:51 UTC (permalink / raw)
To: JONGMAN HEO; +Cc: linux-kernel, Eric Paris, H. Peter Anvin, Linus Torvalds
On Wed, Jan 18, 2012 at 01:17:31AM +0000, JONGMAN HEO wrote:
>
> 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.
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".
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
diff --git a/arch/x86/kernel/vm86_32.c b/arch/x86/kernel/vm86_32.c
index af17e1c..b466cab 100644
--- a/arch/x86/kernel/vm86_32.c
+++ b/arch/x86/kernel/vm86_32.c
@@ -336,8 +336,10 @@ static void do_sys_vm86(struct kernel_vm86_struct *info, struct task_struct *tsk
mark_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"
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-18 1:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-18 1:17 build failure with current linus tree JONGMAN HEO
2012-01-18 1:51 ` Al Viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).