summaryrefslogtreecommitdiffstats
path: root/security/integrity/ima/ima_api.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-03-25 15:33:04 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2016-03-28 00:47:52 -0400
commit81cd8896a64cc34bd59f097fa619b11ab40ca7a6 (patch)
tree1adee07cf5e1fa988e46dc1ca3aa64784fcd2da7 /security/integrity/ima/ima_api.c
parent3b73b68c05db0b3c9b282c6e8e6eb71acc589a02 (diff)
downloadop-kernel-dev-81cd8896a64cc34bd59f097fa619b11ab40ca7a6.zip
op-kernel-dev-81cd8896a64cc34bd59f097fa619b11ab40ca7a6.tar.gz
constify ima_d_path()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/integrity/ima/ima_api.c')
-rw-r--r--security/integrity/ima/ima_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/integrity/ima/ima_api.c b/security/integrity/ima/ima_api.c
index 370e42d..5a2218f 100644
--- a/security/integrity/ima/ima_api.c
+++ b/security/integrity/ima/ima_api.c
@@ -313,7 +313,7 @@ void ima_audit_measurement(struct integrity_iint_cache *iint,
iint->flags |= IMA_AUDITED;
}
-const char *ima_d_path(struct path *path, char **pathbuf)
+const char *ima_d_path(const struct path *path, char **pathbuf)
{
char *pathname = NULL;
OpenPOWER on IntegriCloud