selinux: use u32 as bit position type in ebitmap code
authorChristian Göttsche <cgzones@googlemail.com>
Fri, 15 Mar 2024 17:32:28 +0000 (18:32 +0100)
committerPaul Moore <paul@paul-moore.com>
Thu, 28 Mar 2024 00:08:55 +0000 (20:08 -0400)
commitabb0f43fcdf2cde0beaf6bbe34723a3dca9f125b
tree1acf91c5c39038e10b667ed803e3d8b39801004c
parent32db469edfcca8f12b85299bb9311b9004c4e1ac
selinux: use u32 as bit position type in ebitmap code

The extensible bitmap supports bit positions up to U32_MAX due to the
type of the member highbit being u32.  Use u32 consistently as the type
for bit positions to announce to callers what range of values is
supported.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
[PM: merge fuzz, subject line tweak]
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/ss/ebitmap.c
security/selinux/ss/ebitmap.h