Merge tag 'pull-path' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-block.git] / security / smack / smack_lsm.c
index dadcb9941da5c9f12446a14b612e79206b69992b..b6306d71c90889a13f687144941583ccb5f33807 100644 (file)
@@ -3493,7 +3493,7 @@ static void smack_d_instantiate(struct dentry *opt_dentry, struct inode *inode)
  *
  * Returns the length of the smack label or an error code
  */
-static int smack_getprocattr(struct task_struct *p, char *name, char **value)
+static int smack_getprocattr(struct task_struct *p, const char *name, char **value)
 {
        struct smack_known *skp = smk_of_task_struct_obj(p);
        char *cp;