]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selinux: streamline selinux_nlmsg_lookup()
authorPaul Moore <paul@paul-moore.com>
Wed, 25 Sep 2024 20:11:07 +0000 (16:11 -0400)
committerPaul Moore <paul@paul-moore.com>
Mon, 7 Oct 2024 20:35:29 +0000 (16:35 -0400)
commit984366854190c56b17dcbbfbd5e2b90c02c6e05e
treea1684b0df6e262a893bcb0466c958778eebb25c0
parentd1d991efaf34606d500dcbd28bedc0666eeec8e2
selinux: streamline selinux_nlmsg_lookup()

Streamline the code in selinux_nlmsg_lookup() to improve the code flow,
readability, and remove the unnecessary local variables.

Tested-by: ThiƩbaud Weksteen <tweek@google.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/nlmsgtab.c