aboutsummaryrefslogtreecommitdiffstats
path: root/security/integrity/evm/evm.h
diff options
context:
space:
mode:
Diffstat (limited to 'security/integrity/evm/evm.h')
-rw-r--r--security/integrity/evm/evm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/integrity/evm/evm.h b/security/integrity/evm/evm.h
index 375dc3e6015c..a45d0d630a30 100644
--- a/security/integrity/evm/evm.h
+++ b/security/integrity/evm/evm.h
@@ -12,6 +12,7 @@
12 * File: evm.h 12 * File: evm.h
13 * 13 *
14 */ 14 */
15#include <linux/xattr.h>
15#include <linux/security.h> 16#include <linux/security.h>
16#include "../integrity.h" 17#include "../integrity.h"
17 18
@@ -29,5 +30,7 @@ extern int evm_update_evmxattr(struct dentry *dentry,
29extern int evm_calc_hmac(struct dentry *dentry, const char *req_xattr_name, 30extern int evm_calc_hmac(struct dentry *dentry, const char *req_xattr_name,
30 const char *req_xattr_value, 31 const char *req_xattr_value,
31 size_t req_xattr_value_len, char *digest); 32 size_t req_xattr_value_len, char *digest);
33extern int evm_init_hmac(struct inode *inode, const struct xattr *xattr,
34 char *hmac_val);
32extern int evm_init_secfs(void); 35extern int evm_init_secfs(void);
33extern void evm_cleanup_secfs(void); 36extern void evm_cleanup_secfs(void);