diff options
| author | Matthew Garrett <[email protected]> | 2018-01-11 21:07:54 +0000 |
|---|---|---|
| committer | John Johansen <[email protected]> | 2018-01-12 23:56:50 +0000 |
| commit | 1a3881d305592d947ed47887306919d50112394d (patch) | |
| tree | 8d7c0129e2feae1259325aa7ff33ccb821d93aa2 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | apparmor: fix ptrace label match when matching stacked labels (diff) | |
| download | kernel-1a3881d305592d947ed47887306919d50112394d.tar.gz kernel-1a3881d305592d947ed47887306919d50112394d.zip | |
apparmor: Fix regression in profile conflict logic
The intended behaviour in apparmor profile matching is to flag a
conflict if two profiles match equally well. However, right now a
conflict is generated if another profile has the same match length even
if that profile doesn't actually match. Fix the logic so we only
generate a conflict if the profiles match.
Fixes: 844b8292b631 ("apparmor: ensure that undecidable profile attachments fail")
Cc: Stable <[email protected]>
Signed-off-by: Matthew Garrett <[email protected]>
Signed-off-by: John Johansen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
