switch securityfs_create_file() to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
910f4ecef3
commit
52ef0c042b
4 changed files with 10 additions and 10 deletions
|
@ -3010,7 +3010,7 @@ static inline void security_audit_rule_free(void *lsmrule)
|
|||
|
||||
#ifdef CONFIG_SECURITYFS
|
||||
|
||||
extern struct dentry *securityfs_create_file(const char *name, mode_t mode,
|
||||
extern struct dentry *securityfs_create_file(const char *name, umode_t mode,
|
||||
struct dentry *parent, void *data,
|
||||
const struct file_operations *fops);
|
||||
extern 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,
|
|||
}
|
||||
|
||||
static inline struct dentry *securityfs_create_file(const char *name,
|
||||
mode_t mode,
|
||||
umode_t mode,
|
||||
struct dentry *parent,
|
||||
void *data,
|
||||
const struct file_operations *fops)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue