diff options
| author | Randy Dunlap <[email protected]> | 2009-02-12 17:54:14 +0000 |
|---|---|---|
| committer | James Morris <[email protected]> | 2009-02-12 22:27:56 +0000 |
| commit | b53fab9d48e9bd9aeba0b500dec550becd981a91 (patch) | |
| tree | 19e17d0aa255624bf6455ac35a5089ac550abdb6 /security/selinux/hooks.c | |
| parent | tomoyo: fix sparse warning (diff) | |
| download | kernel-b53fab9d48e9bd9aeba0b500dec550becd981a91.tar.gz kernel-b53fab9d48e9bd9aeba0b500dec550becd981a91.zip | |
ima: fix build error
IMA_LSM_RULES requires AUDIT. This is automatic if SECURITY_SELINUX=y
but not when SECURITY_SMACK=y (and SECURITY_SELINUX=n), so make the
dependency explicit. This fixes the following build error:
security/integrity/ima/ima_policy.c:111:error: implicit declaration of function 'security_audit_rule_match'
security/integrity/ima/ima_policy.c:230:error: implicit declaration of function 'security_audit_rule_init'
Signed-off-by: Randy Dunlap <[email protected]>
Acked-by: Mimi Zohar <[email protected]>
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
