diff options
author | John Johansen <john.johansen@canonical.com> | 2017-06-09 21:47:17 +0200 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2017-06-11 02:11:39 +0200 |
commit | 76a1d263aba3c97db7a2ba673059e0f17d983efb (patch) | |
tree | 8197758c98e68f807248bd819361f7fe0e1a5688 /security/apparmor/lsm.c | |
parent | apparmor: switch from profiles to using labels on contexts (diff) | |
download | linux-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.c | 2 |
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); |