]> www.infradead.org Git - users/dwmw2/linux.git/commit
selinux: rework match_ipv6_addrmask()
authorChristian Göttsche <cgzones@googlemail.com>
Mon, 16 Dec 2024 16:40:02 +0000 (17:40 +0100)
committerPaul Moore <paul@paul-moore.com>
Wed, 8 Jan 2025 04:14:38 +0000 (23:14 -0500)
commit5e99b81f48cd565a5341c921e62fd09184d6bb72
tree0c3f0418be1ffdeed20e6ffc4932500c842dd7c3
parent90903085101107b06158d2407bb2a6045af6dead
selinux: rework match_ipv6_addrmask()

Constify parameters, add size hints, and simplify control flow.

According to godbolt the same assembly is generated.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/ss/services.c