diff options
Diffstat (limited to 'include/linux/security.h')
-rw-r--r-- | include/linux/security.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/linux/security.h b/include/linux/security.h index 2fc42d191f79..6478ce3252c7 100644 --- a/include/linux/security.h +++ b/include/linux/security.h | |||
@@ -1793,7 +1793,8 @@ int security_inode_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) | |||
1793 | int security_inode_rmdir(struct inode *dir, struct dentry *dentry); | 1793 | int security_inode_rmdir(struct inode *dir, struct dentry *dentry); |
1794 | int security_inode_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev); | 1794 | int security_inode_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev); |
1795 | int security_inode_rename(struct inode *old_dir, struct dentry *old_dentry, | 1795 | int security_inode_rename(struct inode *old_dir, struct dentry *old_dentry, |
1796 | struct inode *new_dir, struct dentry *new_dentry); | 1796 | struct inode *new_dir, struct dentry *new_dentry, |
1797 | unsigned int flags); | ||
1797 | int security_inode_readlink(struct dentry *dentry); | 1798 | int security_inode_readlink(struct dentry *dentry); |
1798 | int security_inode_follow_link(struct dentry *dentry, struct nameidata *nd); | 1799 | int security_inode_follow_link(struct dentry *dentry, struct nameidata *nd); |
1799 | int security_inode_permission(struct inode *inode, int mask); | 1800 | int security_inode_permission(struct inode *inode, int mask); |
@@ -2161,7 +2162,8 @@ static inline int security_inode_mknod(struct inode *dir, | |||
2161 | static inline int security_inode_rename(struct inode *old_dir, | 2162 | static inline int security_inode_rename(struct inode *old_dir, |
2162 | struct dentry *old_dentry, | 2163 | struct dentry *old_dentry, |
2163 | struct inode *new_dir, | 2164 | struct inode *new_dir, |
2164 | struct dentry *new_dentry) | 2165 | struct dentry *new_dentry, |
2166 | unsigned int flags) | ||
2165 | { | 2167 | { |
2166 | return 0; | 2168 | return 0; |
2167 | } | 2169 | } |
@@ -2955,7 +2957,8 @@ int security_path_symlink(struct path *dir, struct dentry *dentry, | |||
2955 | int security_path_link(struct dentry *old_dentry, struct path *new_dir, | 2957 | int security_path_link(struct dentry *old_dentry, struct path *new_dir, |
2956 | struct dentry *new_dentry); | 2958 | struct dentry *new_dentry); |
2957 | int security_path_rename(struct path *old_dir, struct dentry *old_dentry, | 2959 | int security_path_rename(struct path *old_dir, struct dentry *old_dentry, |
2958 | struct path *new_dir, struct dentry *new_dentry); | 2960 | struct path *new_dir, struct dentry *new_dentry, |
2961 | unsigned int flags); | ||
2959 | int security_path_chmod(struct path *path, umode_t mode); | 2962 | int security_path_chmod(struct path *path, umode_t mode); |
2960 | int security_path_chown(struct path *path, kuid_t uid, kgid_t gid); | 2963 | int security_path_chown(struct path *path, kuid_t uid, kgid_t gid); |
2961 | int security_path_chroot(struct path *path); | 2964 | int security_path_chroot(struct path *path); |
@@ -3003,7 +3006,8 @@ static inline int security_path_link(struct dentry *old_dentry, | |||
3003 | static inline int security_path_rename(struct path *old_dir, | 3006 | static inline int security_path_rename(struct path *old_dir, |
3004 | struct dentry *old_dentry, | 3007 | struct dentry *old_dentry, |
3005 | struct path *new_dir, | 3008 | struct path *new_dir, |
3006 | struct dentry *new_dentry) | 3009 | struct dentry *new_dentry, |
3010 | unsigned int flags) | ||
3007 | { | 3011 | { |
3008 | return 0; | 3012 | return 0; |
3009 | } | 3013 | } |