summaryrefslogtreecommitdiffstats
path: root/security/apparmor/apparmorfs.c
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2017-01-16 00:42:30 -0800
committerJohn Johansen <john.johansen@canonical.com>2017-01-16 01:18:26 -0800
commitbbe4a7c8733c925b061dcce2d1af8926cefbe539 (patch)
treeb0ccd2d4668dfc3de53a88cfe16eb91eaf4419fb /security/apparmor/apparmorfs.c
parent6e474e3063eae9767f219d83cf91d8360f63be0c (diff)
downloadblackbird-op-linux-bbe4a7c8733c925b061dcce2d1af8926cefbe539.tar.gz
blackbird-op-linux-bbe4a7c8733c925b061dcce2d1af8926cefbe539.zip
apparmor: constify policy name and hname
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/apparmorfs.c')
-rw-r--r--security/apparmor/apparmorfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/apparmorfs.c b/security/apparmor/apparmorfs.c
index d7cfd79d9857..96a02ee9c499 100644
--- a/security/apparmor/apparmorfs.c
+++ b/security/apparmor/apparmorfs.c
@@ -38,7 +38,7 @@
*
* Returns: length of mangled name
*/
-static int mangle_name(char *name, char *target)
+static int mangle_name(const char *name, char *target)
{
char *t = target;
OpenPOWER on IntegriCloud