summaryrefslogtreecommitdiffstats
path: root/security/tomoyo/common.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-10-11 11:42:01 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-11 20:02:04 -0400
commit808d4e3cfdcc52b19276175464f6dbca4df13b09 (patch)
tree11c319127e8c1314c1ed1a777e4284032ab5bd00 /security/tomoyo/common.h
parent4b2c551f77f5a0c496e2125b1d883f4b26aabf2c (diff)
downloadlinux-808d4e3cfdcc52b19276175464f6dbca4df13b09.tar.gz
linux-808d4e3cfdcc52b19276175464f6dbca4df13b09.tar.bz2
linux-808d4e3cfdcc52b19276175464f6dbca4df13b09.zip
consitify do_mount() arguments
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/tomoyo/common.h')
-rw-r--r--security/tomoyo/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/common.h b/security/tomoyo/common.h
index af010b62d544..d4f166bc3508 100644
--- a/security/tomoyo/common.h
+++ b/security/tomoyo/common.h
@@ -970,7 +970,7 @@ int tomoyo_init_request_info(struct tomoyo_request_info *r,
const u8 index);
int tomoyo_mkdev_perm(const u8 operation, struct path *path,
const unsigned int mode, unsigned int dev);
-int tomoyo_mount_permission(char *dev_name, struct path *path,
+int tomoyo_mount_permission(const char *dev_name, struct path *path,
const char *type, unsigned long flags,
void *data_page);
int tomoyo_open_control(const u8 type, struct file *file);