]> www.infradead.org Git - nvme.git/commit
selinux: make more use of str_read() when loading the policy
authorChristian Göttsche <cgzones@googlemail.com>
Mon, 16 Dec 2024 16:40:07 +0000 (17:40 +0100)
committerPaul Moore <paul@paul-moore.com>
Wed, 8 Jan 2025 04:14:40 +0000 (23:14 -0500)
commit01c2253a0fbdccb58cd79d4ff9ab39964bfb4474
tree24cd624adbbbee8ecad185613a68ab458ec9b14d
parent749153636643aaa793f14e84e864fdaf5ed0620d
selinux: make more use of str_read() when loading the policy

Simplify the call sites, and enable future string validation in a single
place.

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