linux/security/selinux/ss/ebitmap.c
Christian Göttsche 259915b053 selinux: check type attr map overflows
Validate that no types with an invalid too high ID are present in the
attribute map.  Gaps are still not checked.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com>
[PM: changed name to ebitmap_get_highest_set_bit()]
Signed-off-by: Paul Moore <paul@paul-moore.com>
2026-05-06 19:43:19 -04:00

603 lines
12 KiB