diff options
Diffstat (limited to 'include/linux/ima.h')
-rw-r--r-- | include/linux/ima.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/ima.h b/include/linux/ima.h index dcc3664feee8..6db30a328d98 100644 --- a/include/linux/ima.h +++ b/include/linux/ima.h | |||
@@ -19,6 +19,7 @@ extern void ima_inode_free(struct inode *inode); | |||
19 | extern int ima_path_check(struct path *path, int mask); | 19 | extern int ima_path_check(struct path *path, int mask); |
20 | extern void ima_file_free(struct file *file); | 20 | extern void ima_file_free(struct file *file); |
21 | extern int ima_file_mmap(struct file *file, unsigned long prot); | 21 | extern int ima_file_mmap(struct file *file, unsigned long prot); |
22 | extern void ima_shm_check(struct file *file); | ||
22 | 23 | ||
23 | #else | 24 | #else |
24 | static inline int ima_bprm_check(struct linux_binprm *bprm) | 25 | static inline int ima_bprm_check(struct linux_binprm *bprm) |
@@ -50,5 +51,10 @@ static inline int ima_file_mmap(struct file *file, unsigned long prot) | |||
50 | { | 51 | { |
51 | return 0; | 52 | return 0; |
52 | } | 53 | } |
54 | |||
55 | static inline void ima_shm_check(struct file *file) | ||
56 | { | ||
57 | return; | ||
58 | } | ||
53 | #endif /* CONFIG_IMA_H */ | 59 | #endif /* CONFIG_IMA_H */ |
54 | #endif /* _LINUX_IMA_H */ | 60 | #endif /* _LINUX_IMA_H */ |