diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2011-11-21 14:56:21 -0500 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:55:18 -0500 |
| commit | 4572befe248fd0d94aedc98775e3f0ddc8a26651 (patch) | |
| tree | 2f4c4dabaebadb2790c8266a0434c7030c5f7cc0 /include | |
| parent | d179333f37d33533f4c77118f757b9e7835ccb7c (diff) | |
switch ->path_mkdir() to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/security.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/security.h b/include/linux/security.h index fab659edf11a..24cd7cf48564 100644 --- a/include/linux/security.h +++ b/include/linux/security.h | |||
| @@ -1424,7 +1424,7 @@ struct security_operations { | |||
| 1424 | 1424 | ||
| 1425 | #ifdef CONFIG_SECURITY_PATH | 1425 | #ifdef CONFIG_SECURITY_PATH |
| 1426 | int (*path_unlink) (struct path *dir, struct dentry *dentry); | 1426 | int (*path_unlink) (struct path *dir, struct dentry *dentry); |
| 1427 | int (*path_mkdir) (struct path *dir, struct dentry *dentry, int mode); | 1427 | int (*path_mkdir) (struct path *dir, struct dentry *dentry, umode_t mode); |
| 1428 | int (*path_rmdir) (struct path *dir, struct dentry *dentry); | 1428 | int (*path_rmdir) (struct path *dir, struct dentry *dentry); |
| 1429 | int (*path_mknod) (struct path *dir, struct dentry *dentry, int mode, | 1429 | int (*path_mknod) (struct path *dir, struct dentry *dentry, int mode, |
| 1430 | unsigned int dev); | 1430 | unsigned int dev); |
| @@ -2855,7 +2855,7 @@ static inline void security_skb_classify_flow(struct sk_buff *skb, struct flowi | |||
| 2855 | 2855 | ||
| 2856 | #ifdef CONFIG_SECURITY_PATH | 2856 | #ifdef CONFIG_SECURITY_PATH |
| 2857 | int security_path_unlink(struct path *dir, struct dentry *dentry); | 2857 | int security_path_unlink(struct path *dir, struct dentry *dentry); |
| 2858 | int security_path_mkdir(struct path *dir, struct dentry *dentry, int mode); | 2858 | int security_path_mkdir(struct path *dir, struct dentry *dentry, umode_t mode); |
| 2859 | int security_path_rmdir(struct path *dir, struct dentry *dentry); | 2859 | int security_path_rmdir(struct path *dir, struct dentry *dentry); |
| 2860 | int security_path_mknod(struct path *dir, struct dentry *dentry, int mode, | 2860 | int security_path_mknod(struct path *dir, struct dentry *dentry, int mode, |
| 2861 | unsigned int dev); | 2861 | unsigned int dev); |
| @@ -2877,7 +2877,7 @@ static inline int security_path_unlink(struct path *dir, struct dentry *dentry) | |||
| 2877 | } | 2877 | } |
| 2878 | 2878 | ||
| 2879 | static inline int security_path_mkdir(struct path *dir, struct dentry *dentry, | 2879 | static inline int security_path_mkdir(struct path *dir, struct dentry *dentry, |
| 2880 | int mode) | 2880 | umode_t mode) |
| 2881 | { | 2881 | { |
| 2882 | return 0; | 2882 | return 0; |
| 2883 | } | 2883 | } |
