]> git.baikalelectronics.ru Git - kernel.git/commit
Smack: build when CONFIG_AUDIT not defined
authorKees Cook <keescook@chromium.org>
Tue, 10 Apr 2012 20:26:44 +0000 (13:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 10 Apr 2012 23:14:40 +0000 (16:14 -0700)
commit0846720c4b6fad8779aa81e87bb78d9c1e394b52
tree5d7aec3e06664c7f96726b9439a42a565bcc86ab
parentdbfaafb03633d4a80c1f11828e8fa4a5d94c9204
Smack: build when CONFIG_AUDIT not defined

This fixes builds where CONFIG_AUDIT is not defined and
CONFIG_SECURITY_SMACK=y.

This got introduced by the stack-usage reducation commit 8dad56f1724d
("LSM: shrink the common_audit_data data union").

Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
security/smack/smack_lsm.c