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 <[email protected]>
Acked-by: Eric Paris <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
1 file changed