diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-14 21:48:20 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-20 21:29:40 -0400 |
commit | 66b3fad3f4c535c92b6a1184d535a97d6aa5d82a (patch) | |
tree | e0ac7f847b760b9e8b9777df27cd1581099935a2 | |
parent | 9fcf03d0d6e845ed495fc8b1ec328b473ff298b3 (diff) | |
download | kernel_goldelico_gta04-66b3fad3f4c535c92b6a1184d535a97d6aa5d82a.zip kernel_goldelico_gta04-66b3fad3f4c535c92b6a1184d535a97d6aa5d82a.tar.gz kernel_goldelico_gta04-66b3fad3f4c535c92b6a1184d535a97d6aa5d82a.tar.bz2 |
constify path argument of audit_log_d_path()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | include/linux/audit.h | 2 | ||||
-rw-r--r-- | kernel/audit.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h index 9ff7a2c..ed3ef19 100644 --- a/include/linux/audit.h +++ b/include/linux/audit.h @@ -684,7 +684,7 @@ extern void audit_log_untrustedstring(struct audit_buffer *ab, const char *string); extern void audit_log_d_path(struct audit_buffer *ab, const char *prefix, - struct path *path); + const struct path *path); extern void audit_log_key(struct audit_buffer *ab, char *key); extern void audit_log_lost(const char *message); diff --git a/kernel/audit.c b/kernel/audit.c index bb0eb5b..1c7f2c6 100644 --- a/kernel/audit.c +++ b/kernel/audit.c @@ -1418,7 +1418,7 @@ void audit_log_untrustedstring(struct audit_buffer *ab, const char *string) /* This is a helper-function to print the escaped d_path */ void audit_log_d_path(struct audit_buffer *ab, const char *prefix, - struct path *path) + const struct path *path) { char *p, *pathname; |