aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-26 04:30:04 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-03 22:55:13 -0500
commit52ef0c042bf06f6aef382fade175075627beebc1 (patch)
treea1256aebfd835da4cb29a80f391112fea82bf38e /include
parent910f4ecef3f67714ebff69d0bc34313e48afaed2 (diff)
switch securityfs_create_file() to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/security.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/security.h b/include/linux/security.h
index f2c1fd7978a5..fab659edf11a 100644
--- a/include/linux/security.h
+++ b/include/linux/security.h
@@ -3010,7 +3010,7 @@ static inline void security_audit_rule_free(void *lsmrule)
3010 3010
3011#ifdef CONFIG_SECURITYFS 3011#ifdef CONFIG_SECURITYFS
3012 3012
3013extern struct dentry *securityfs_create_file(const char *name, mode_t mode, 3013extern struct dentry *securityfs_create_file(const char *name, umode_t mode,
3014 struct dentry *parent, void *data, 3014 struct dentry *parent, void *data,
3015 const struct file_operations *fops); 3015 const struct file_operations *fops);
3016extern struct dentry *securityfs_create_dir(const char *name, struct dentry *parent); 3016extern struct dentry *securityfs_create_dir(const char *name, struct dentry *parent);
@@ -3025,7 +3025,7 @@ static inline struct dentry *securityfs_create_dir(const char *name,
3025} 3025}
3026 3026
3027static inline struct dentry *securityfs_create_file(const char *name, 3027static inline struct dentry *securityfs_create_file(const char *name,
3028 mode_t mode, 3028 umode_t mode,
3029 struct dentry *parent, 3029 struct dentry *parent,
3030 void *data, 3030 void *data,
3031 const struct file_operations *fops) 3031 const struct file_operations *fops)