diff options
author | John Johansen <john.johansen@canonical.com> | 2017-06-09 02:08:28 -0700 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2017-06-10 17:11:34 -0700 |
commit | cf797c0e5e312520b0b9f0367039fc0279a07a76 (patch) | |
tree | 68dc51534745fb230ec35e1d56bb158fb99b225b /security/apparmor/lib.c | |
parent | fe864821d504f33f22b3ce2d5599ae95598db721 (diff) | |
download | linux-stable-cf797c0e5e312520b0b9f0367039fc0279a07a76.tar.gz linux-stable-cf797c0e5e312520b0b9f0367039fc0279a07a76.tar.bz2 linux-stable-cf797c0e5e312520b0b9f0367039fc0279a07a76.zip |
apparmor: convert to profile block critical sections
There are still a few places where profile replacement fails to update
and a stale profile is used for mediation. Fix this by moving to
accessing the current label through a critical section that will
always ensure mediation is using the current label regardless of
whether the tasks cred has been updated or not.
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/lib.c')
0 files changed, 0 insertions, 0 deletions