summaryrefslogtreecommitdiffstats
path: root/security/apparmor/include/path.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-03-25 14:18:14 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2016-03-27 23:48:14 -0400
commit2c7661ff419580f5c06ea409e31407e0ff52cb95 (patch)
tree0f08c2656b1d14406612d10a3b98212264faeaec /security/apparmor/include/path.h
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff)
downloadlinux-stable-2c7661ff419580f5c06ea409e31407e0ff52cb95.tar.gz
linux-stable-2c7661ff419580f5c06ea409e31407e0ff52cb95.tar.bz2
linux-stable-2c7661ff419580f5c06ea409e31407e0ff52cb95.zip
[apparmor] constify struct path * in a bunch of helpers
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/apparmor/include/path.h')
-rw-r--r--security/apparmor/include/path.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/include/path.h b/security/apparmor/include/path.h
index 286ac75dc88b..73560f258784 100644
--- a/security/apparmor/include/path.h
+++ b/security/apparmor/include/path.h
@@ -26,7 +26,7 @@ enum path_flags {
PATH_MEDIATE_DELETED = 0x10000, /* mediate deleted paths */
};
-int aa_path_name(struct path *path, int flags, char **buffer,
+int aa_path_name(const struct path *path, int flags, char **buffer,
const char **name, const char **info);
#endif /* __AA_PATH_H */