diff options
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2013-03-18 14:48:02 -0400 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2013-06-20 07:47:49 -0400 |
commit | d726d8d719b6ac919cc4d5cae73831a2ffe36118 (patch) | |
tree | 1200a3ca3f60096a3ef7b6af6998c453bb13844b /security/integrity/ima/ima.h | |
parent | 37ec43cdc4c776bd39aae469fdfa494bdf0344c7 (diff) |
integrity: move integrity_audit_msg()
This patch moves the integrity_audit_msg() function and defintion to
security/integrity/, the parent directory, renames the 'ima_audit'
boot command line option to 'integrity_audit', and fixes the Kconfig
help text to reflect the actual code.
Changelog:
- Fixed ifdef inclusion of integrity_audit_msg() (Fengguang Wu)
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'security/integrity/ima/ima.h')
-rw-r--r-- | security/integrity/ima/ima.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/security/integrity/ima/ima.h b/security/integrity/ima/ima.h index a41c9c18e5e0..b3dd616560f7 100644 --- a/security/integrity/ima/ima.h +++ b/security/integrity/ima/ima.h | |||
@@ -62,20 +62,6 @@ struct ima_queue_entry { | |||
62 | }; | 62 | }; |
63 | extern struct list_head ima_measurements; /* list of all measurements */ | 63 | extern struct list_head ima_measurements; /* list of all measurements */ |
64 | 64 | ||
65 | #ifdef CONFIG_IMA_AUDIT | ||
66 | /* declarations */ | ||
67 | void integrity_audit_msg(int audit_msgno, struct inode *inode, | ||
68 | const unsigned char *fname, const char *op, | ||
69 | const char *cause, int result, int info); | ||
70 | #else | ||
71 | static inline void integrity_audit_msg(int audit_msgno, struct inode *inode, | ||
72 | const unsigned char *fname, | ||
73 | const char *op, const char *cause, | ||
74 | int result, int info) | ||
75 | { | ||
76 | } | ||
77 | #endif | ||
78 | |||
79 | /* Internal IMA function definitions */ | 65 | /* Internal IMA function definitions */ |
80 | int ima_init(void); | 66 | int ima_init(void); |
81 | void ima_cleanup(void); | 67 | void ima_cleanup(void); |