diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-11-21 20:58:38 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-04 04:55:19 +0100 |
commit | 04fc66e789a896e684bfdca30208e57eb832dd96 (patch) | |
tree | 37c26bff07e48c8c25d147850b7906d0d1c79a81 /security/apparmor | |
parent | switch ->path_mkdir() to umode_t (diff) | |
download | linux-04fc66e789a896e684bfdca30208e57eb832dd96.tar.xz linux-04fc66e789a896e684bfdca30208e57eb832dd96.zip |
switch ->path_mknod() to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/apparmor')
-rw-r--r-- | security/apparmor/lsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c index 3271bd38d860..c0a399ec1df9 100644 --- a/security/apparmor/lsm.c +++ b/security/apparmor/lsm.c @@ -274,7 +274,7 @@ static int apparmor_path_rmdir(struct path *dir, struct dentry *dentry) } static int apparmor_path_mknod(struct path *dir, struct dentry *dentry, - int mode, unsigned int dev) + umode_t mode, unsigned int dev) { return common_perm_create(OP_MKNOD, dir, dentry, AA_MAY_CREATE, mode); } |