Commit 5d659f28 authored by Tycho Andersen's avatar Tycho Andersen Committed by Mimi Zohar

ima: fix up #endif comments

While reading the code, I noticed that these #endif comments don't match
how they're actually nested. This patch fixes that.
Signed-off-by: default avatarTycho Andersen <tycho@docker.com>
Signed-off-by: default avatarMimi Zohar <zohar@linux.vnet.ibm.com>
parent 38d19268
...@@ -306,12 +306,12 @@ static inline int security_filter_rule_match(u32 secid, u32 field, u32 op, ...@@ -306,12 +306,12 @@ static inline int security_filter_rule_match(u32 secid, u32 field, u32 op,
{ {
return -EINVAL; return -EINVAL;
} }
#endif /* CONFIG_IMA_TRUSTED_KEYRING */ #endif /* CONFIG_IMA_LSM_RULES */
#ifdef CONFIG_IMA_READ_POLICY #ifdef CONFIG_IMA_READ_POLICY
#define POLICY_FILE_FLAGS (S_IWUSR | S_IRUSR) #define POLICY_FILE_FLAGS (S_IWUSR | S_IRUSR)
#else #else
#define POLICY_FILE_FLAGS S_IWUSR #define POLICY_FILE_FLAGS S_IWUSR
#endif /* CONFIG_IMA_WRITE_POLICY */ #endif /* CONFIG_IMA_READ_POLICY */
#endif /* __LINUX_IMA_H */ #endif /* __LINUX_IMA_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment