* Re: [PATCH v3 7/14] selinux: check type attr map overflows
[not found] <20250511173055.406906-7-cgoettsche@seltendoof.de>
@ 2026-05-06 23:43 ` Paul Moore
0 siblings, 0 replies; only message in thread
From: Paul Moore @ 2026-05-06 23:43 UTC (permalink / raw)
To: Christian Göttsche, selinux
Cc: Christian Göttsche, Stephen Smalley, Ondrej Mosnacek,
linux-kernel, Eric Suen, Canfeng Guo
On May 11, 2025 =?UTF-8?q?Christian=20G=C3=B6ttsche?= <cgoettsche@seltendoof.de> wrote:
>
> 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>
> ---
> v3: squash with previous patch ("selinux: introduce
> ebitmap_highest_set_bit()")
> ---
> security/selinux/ss/ebitmap.c | 27 +++++++++++++++++++++++++++
> security/selinux/ss/ebitmap.h | 1 +
> security/selinux/ss/policydb.c | 5 +++++
> 3 files changed, 33 insertions(+)
I changed the name to ebitmap_get_highest_set_bit(), but otherwise this
looks good to me, merged to selinux/dev, thanks.
--
paul-moore.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-06 23:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20250511173055.406906-7-cgoettsche@seltendoof.de>
2026-05-06 23:43 ` [PATCH v3 7/14] selinux: check type attr map overflows Paul Moore
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox