Skip to content

Commit ebd50e5

Browse files
hormsLinus Torvalds
authored andcommitted
[PATCH] audit_sysctl_exit can only be used with CONF_AUDIT_SYSCTL
This section of code calls .audit_syscal_exit, but is inside CONFIG_AUDIT, so it will fail to build if CONFIG_AUDITSYSCALL is not defined. After discussion with David Woodhouse, change the ifdef to CONFIG_AUDITSYSCALL Signed-off-by: Horms <horms@verge.net.au> Acked-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent faba278 commit ebd50e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/powerpc/kernel/entry_64.S‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ _GLOBAL(ppc32_rt_sigsuspend)
279279
bne syscall_exit
280280
/* If sigsuspend() returns zero, we are going into a signal handler. We
281281
may need to call audit_syscall_exit() to mark the exit from sigsuspend() */
282-
#ifdef CONFIG_AUDIT
282+
#ifdef CONFIG_AUDITSYSCALL
283283
ld r3,PACACURRENT(r13)
284284
ld r4,AUDITCONTEXT(r3)
285285
cmpdi 0,r4,0

0 commit comments

Comments
 (0)