Commit 2fa95508 authored by Thiébaud Weksteen's avatar Thiébaud Weksteen Committed by Greg Kroah-Hartman
Browse files

UPSTREAM: selinux: ignore unknown extended permissions



When evaluating extended permissions, ignore unknown permissions instead
of calling BUG(). This commit ensures that future permissions can be
added without interfering with older kernels.

Cc: stable@vger.kernel.org
Fixes: fa1aa143 ("selinux: extended permissions for ioctls")
Signed-off-by: default avatarThiébaud Weksteen <tweek@google.com>
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
(cherry picked from commit 900f83cf)
Change-Id: I1689d8c5084a24c1a34ef3d15d71f8cfa4122447
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 5d1fb1e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment