]> git.baikalelectronics.ru Git - kernel.git/commit
x86-32: Fix build failure with AUDIT=y, AUDITSYSCALL=n
authorAl Viro <viro@ZenIV.linux.org.uk>
Wed, 18 Jan 2012 01:51:22 +0000 (01:51 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 18 Jan 2012 02:10:11 +0000 (18:10 -0800)
commit59380c2f2878e8145ac573a919c566998a79a026
tree65ed5e0ca7bc839be8a56285e9b94cdc829cbcd9
parent8e31d0734faca94f80083bdfe718c118632682e4
x86-32: Fix build failure with AUDIT=y, AUDITSYSCALL=n

JONGMAN HEO reports:

  With current linus git (commit 8e31d073), 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

OK, I can reproduce it (32bit allmodconfig with AUDIT=y, AUDITSYSCALL=n)

It's due to commit fdd490e4ef7e: "Audit: push audit success and retcode
into arch ptrace.h".

Reported-by: JONGMAN HEO <jongman.heo@samsung.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/kernel/vm86_32.c