summaryrefslogtreecommitdiffstats
path: root/security/tomoyo/common.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-03-08 19:24:30 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2015-04-11 22:24:31 -0400
commit2247386243747500977dc92b1ab833401303f9f0 (patch)
tree8e04e1976f4e97e9ebb998dd60410ade499af4d8 /security/tomoyo/common.h
parent74008b365dcb921781f7430c1fc279be7778327b (diff)
downloadop-kernel-dev-2247386243747500977dc92b1ab833401303f9f0.zip
op-kernel-dev-2247386243747500977dc92b1ab833401303f9f0.tar.gz
constify tomoyo_realpath_from_path()
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 b897d48..6627102 100644
--- a/security/tomoyo/common.h
+++ b/security/tomoyo/common.h
@@ -945,7 +945,7 @@ char *tomoyo_encode2(const char *str, int str_len);
char *tomoyo_init_log(struct tomoyo_request_info *r, int len, const char *fmt,
va_list args);
char *tomoyo_read_token(struct tomoyo_acl_param *param);
-char *tomoyo_realpath_from_path(struct path *path);
+char *tomoyo_realpath_from_path(const struct path *path);
char *tomoyo_realpath_nofollow(const char *pathname);
const char *tomoyo_get_exe(void);
const char *tomoyo_yesno(const unsigned int value);
OpenPOWER on IntegriCloud