diff options
| author | James Morris <james.l.morris@oracle.com> | 2014-11-19 05:36:07 -0500 |
|---|---|---|
| committer | James Morris <james.l.morris@oracle.com> | 2014-11-19 05:36:07 -0500 |
| commit | a6aacbde406eeb6f8fc218b2c6172825f5e73fcf (patch) | |
| tree | b79e1a17c38090915085f0dbb501a0970cb79b28 /include/linux | |
| parent | b10778a00d40b3d9fdaaf5891e802794781ff71c (diff) | |
| parent | 6fb5032ebb1c5b852461d64ee33829081de8ca61 (diff) | |
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity into next
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fs.h | 1 | ||||
| -rw-r--r-- | include/linux/integrity.h | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 94187721ad41..c213b488ca22 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
| @@ -1553,6 +1553,7 @@ ssize_t rw_copy_check_uvector(int type, const struct iovec __user * uvector, | |||
| 1553 | struct iovec *fast_pointer, | 1553 | struct iovec *fast_pointer, |
| 1554 | struct iovec **ret_pointer); | 1554 | struct iovec **ret_pointer); |
| 1555 | 1555 | ||
| 1556 | extern ssize_t __vfs_read(struct file *, char __user *, size_t, loff_t *); | ||
| 1556 | extern ssize_t vfs_read(struct file *, char __user *, size_t, loff_t *); | 1557 | extern ssize_t vfs_read(struct file *, char __user *, size_t, loff_t *); |
| 1557 | extern ssize_t vfs_write(struct file *, const char __user *, size_t, loff_t *); | 1558 | extern ssize_t vfs_write(struct file *, const char __user *, size_t, loff_t *); |
| 1558 | extern ssize_t vfs_readv(struct file *, const struct iovec __user *, | 1559 | extern ssize_t vfs_readv(struct file *, const struct iovec __user *, |
diff --git a/include/linux/integrity.h b/include/linux/integrity.h index 83222cebd47b..c2d6082a1a4c 100644 --- a/include/linux/integrity.h +++ b/include/linux/integrity.h | |||
| @@ -24,6 +24,7 @@ enum integrity_status { | |||
| 24 | #ifdef CONFIG_INTEGRITY | 24 | #ifdef CONFIG_INTEGRITY |
| 25 | extern struct integrity_iint_cache *integrity_inode_get(struct inode *inode); | 25 | extern struct integrity_iint_cache *integrity_inode_get(struct inode *inode); |
| 26 | extern void integrity_inode_free(struct inode *inode); | 26 | extern void integrity_inode_free(struct inode *inode); |
| 27 | extern void __init integrity_load_keys(void); | ||
| 27 | 28 | ||
| 28 | #else | 29 | #else |
| 29 | static inline struct integrity_iint_cache * | 30 | static inline struct integrity_iint_cache * |
| @@ -36,5 +37,10 @@ static inline void integrity_inode_free(struct inode *inode) | |||
| 36 | { | 37 | { |
| 37 | return; | 38 | return; |
| 38 | } | 39 | } |
| 40 | |||
| 41 | static inline void integrity_load_keys(void) | ||
| 42 | { | ||
| 43 | } | ||
| 39 | #endif /* CONFIG_INTEGRITY */ | 44 | #endif /* CONFIG_INTEGRITY */ |
| 45 | |||
| 40 | #endif /* _LINUX_INTEGRITY_H */ | 46 | #endif /* _LINUX_INTEGRITY_H */ |
