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)
commit923e9a1399b620d063cd88537c64561bc3d5f905
tree5d7aec3e06664c7f96726b9439a42a565bcc86ab
parent94fb175c0414902ad9dbd956addf3a5feafbc85b
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 48c62af68a40
("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