summaryrefslogtreecommitdiffstats
path: root/security/apparmor/lsm.c
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2017-06-09 21:47:17 +0200
committerJohn Johansen <john.johansen@canonical.com>2017-06-11 02:11:39 +0200
commit76a1d263aba3c97db7a2ba673059e0f17d983efb (patch)
tree8197758c98e68f807248bd819361f7fe0e1a5688 /security/apparmor/lsm.c
parentapparmor: switch from profiles to using labels on contexts (diff)
downloadlinux-76a1d263aba3c97db7a2ba673059e0f17d983efb.tar.xz
linux-76a1d263aba3c97db7a2ba673059e0f17d983efb.zip
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);