682e01f79d
This check is a remnant of the libselinux <2.5 era, back when is_selinux_enabled() checked whether a policy had been loaded. Nowadays it only checks whether selinuxfs is mounted, and "load_policy -i" therefore incorrectly refuses operation when selinuxfs is mounted, but no policy has been loaded yet. While it doesn't make much sense to call selinux_init_load_policy() twice, there's no harm in doing so either, so let's just drop this safeguard instead of fixing it. Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov> |
||
---|---|---|
.. | ||
load_policy.8 | ||
load_policy.c | ||
Makefile |