aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorPaul Moore <[email protected]>2018-11-14 02:44:33 +0000
committerPaul Moore <[email protected]>2018-11-14 02:44:33 +0000
commit877181a8d9dc663f7a73f77f50af714d7888ec3b (patch)
tree1608534267eee0c2f6ecfc200607f16bfa5b2566 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentselinux: check length properly in SCTP bind hook (diff)
downloadkernel-877181a8d9dc663f7a73f77f50af714d7888ec3b.tar.gz
kernel-877181a8d9dc663f7a73f77f50af714d7888ec3b.zip
selinux: fix non-MLS handling in mls_context_to_sid()
Commit 95ffe194204a ("selinux: refactor mls_context_to_sid() and make it stricter") inadvertently changed how we handle labels that did not contain MLS information. This patch restores the proper behavior in mls_context_to_sid() and adds a comment explaining the proper behavior to help ensure this doesn't happen again. Fixes: 95ffe194204a ("selinux: refactor mls_context_to_sid() and make it stricter") Reported-by: Stephen Smalley <[email protected]> Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions