diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/evm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/evm.h b/include/linux/evm.h index 6d4e89b020c5..db5556dcdd27 100644 --- a/include/linux/evm.h +++ b/include/linux/evm.h | |||
@@ -19,6 +19,7 @@ extern enum integrity_status evm_verifyxattr(struct dentry *dentry, | |||
19 | void *xattr_value, | 19 | void *xattr_value, |
20 | size_t xattr_value_len, | 20 | size_t xattr_value_len, |
21 | struct integrity_iint_cache *iint); | 21 | struct integrity_iint_cache *iint); |
22 | extern int evm_inode_setattr(struct dentry *dentry, struct iattr *attr); | ||
22 | extern void evm_inode_post_setattr(struct dentry *dentry, int ia_valid); | 23 | extern void evm_inode_post_setattr(struct dentry *dentry, int ia_valid); |
23 | extern int evm_inode_setxattr(struct dentry *dentry, const char *name, | 24 | extern int evm_inode_setxattr(struct dentry *dentry, const char *name, |
24 | const void *value, size_t size); | 25 | const void *value, size_t size); |
@@ -44,6 +45,11 @@ static inline enum integrity_status evm_verifyxattr(struct dentry *dentry, | |||
44 | } | 45 | } |
45 | #endif | 46 | #endif |
46 | 47 | ||
48 | static int evm_inode_setattr(struct dentry *dentry, struct iattr *attr) | ||
49 | { | ||
50 | return 0; | ||
51 | } | ||
52 | |||
47 | static inline void evm_inode_post_setattr(struct dentry *dentry, int ia_valid) | 53 | static inline void evm_inode_post_setattr(struct dentry *dentry, int ia_valid) |
48 | { | 54 | { |
49 | return; | 55 | return; |