summaryrefslogtreecommitdiff
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2024-03-15 18:28:44 +0100
committerPaul Moore <paul@paul-moore.com>2024-03-26 16:36:14 -0400
commit0142c56682fbf969cc08b1e3f9223384ede29a5f (patch)
tree4467ecc386bba1f84106802aea4a203e24c72b4e /security/selinux/hooks.c
parent4cece764965020c22cff7665b18a012006359095 (diff)
selinux: reject invalid ebitmaps
Reject ebitmaps with a node containing an empty map or with an incorrect highbit. Both checks are already performed by userspace, the former since 2008 (patch 13cd4c896068 ("initial import from svn trunk revision 2950")), the latter since v2.7 in 2017 (patch 75b14a5de10a ("libsepol: ebitmap: reject loading bitmaps with incorrect high bit")). Signed-off-by: Christian Göttsche <cgzones@googlemail.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions