summaryrefslogtreecommitdiff
path: root/security/apparmor/lsm.c
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2017-06-09 12:47:17 -0700
committerJohn Johansen <john.johansen@canonical.com>2017-06-10 17:11:39 -0700
commit76a1d263aba3c97db7a2ba673059e0f17d983efb (patch)
tree8197758c98e68f807248bd819361f7fe0e1a5688 /security/apparmor/lsm.c
parent637f688dc3dc304a89f441d76f49a0e35bc49c08 (diff)
apparmor: switch getprocattr to using label_print fns()
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/lsm.c')
-rw-r--r--security/apparmor/lsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c
index 3ba08530c92e..f7f82ce00d73 100644
--- a/security/apparmor/lsm.c
+++ b/security/apparmor/lsm.c
@@ -522,7 +522,7 @@ static int apparmor_getprocattr(struct task_struct *task, char *name,
error = -EINVAL;
if (label)
- error = aa_getprocattr(labels_profile(label), value);
+ error = aa_getprocattr(label, value);
aa_put_label(label);
put_cred(cred);