diff options
| author | John Johansen <[email protected]> | 2016-09-01 04:10:06 +0000 |
|---|---|---|
| committer | James Morris <[email protected]> | 2016-11-21 07:01:28 +0000 |
| commit | 3d40658c977769ce2138f286cf131537bf68bdfe (patch) | |
| tree | a4413e2582ba4d840edb2e21e030e85d679f1b67 /lib/mpi/mpi-pow.c | |
| parent | Linux 4.9-rc6 (diff) | |
| download | kernel-3d40658c977769ce2138f286cf131537bf68bdfe.tar.gz kernel-3d40658c977769ce2138f286cf131537bf68bdfe.zip | |
apparmor: fix change_hat not finding hat after policy replacement
After a policy replacement, the task cred may be out of date and need
to be updated. However change_hat is using the stale profiles from
the out of date cred resulting in either: a stale profile being applied
or, incorrect failure when searching for a hat profile as it has been
migrated to the new parent profile.
Fixes: 01e2b670aa898a39259bc85c78e3d74820f4d3b6 (failure to find hat)
Fixes: 898127c34ec03291c86f4ff3856d79e9e18952bc (stale policy being applied)
Bugzilla: https://bugzilla.suse.com/show_bug.cgi?id=1000287
Cc: [email protected]
Signed-off-by: John Johansen <[email protected]>
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions
