Merge tag 'selinux-pr-20240715' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux
Pull selinux update from Paul Moore: "A single SELinux patch to change the type of a pre-processor constant to better match its use" * tag 'selinux-pr-20240715' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux: selinux: Use 1UL for EBITMAP_BIT to match maps type
This commit is contained in:
@ -29,7 +29,7 @@
|
|||||||
sizeof(unsigned long))
|
sizeof(unsigned long))
|
||||||
#define EBITMAP_UNIT_SIZE BITS_PER_LONG
|
#define EBITMAP_UNIT_SIZE BITS_PER_LONG
|
||||||
#define EBITMAP_SIZE (EBITMAP_UNIT_NUMS * EBITMAP_UNIT_SIZE)
|
#define EBITMAP_SIZE (EBITMAP_UNIT_NUMS * EBITMAP_UNIT_SIZE)
|
||||||
#define EBITMAP_BIT 1ULL
|
#define EBITMAP_BIT 1UL
|
||||||
#define EBITMAP_SHIFT_UNIT_SIZE(x) \
|
#define EBITMAP_SHIFT_UNIT_SIZE(x) \
|
||||||
(((x) >> EBITMAP_UNIT_SIZE / 2) >> EBITMAP_UNIT_SIZE / 2)
|
(((x) >> EBITMAP_UNIT_SIZE / 2) >> EBITMAP_UNIT_SIZE / 2)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user