selinux: cleanup the policycap accessor functions
authorPaul Moore <paul@paul-moore.com>
Fri, 16 Jun 2023 22:02:43 +0000 (18:02 -0400)
committerPaul Moore <paul@paul-moore.com>
Mon, 10 Jul 2023 18:23:56 +0000 (14:23 -0400)
commitd91c1ab470edd94e52bca738e53b5ad0f0247176
treef017d1f9abca81d715e110ccdbd6f9b52e92c113
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
selinux: cleanup the policycap accessor functions

In the process of reverting back to directly accessing the global
selinux_state pointer we left behind some artifacts in the
selinux_policycap_XXX() helper functions.  This patch cleans up
some of that left-behind cruft.

Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/include/security.h