On 1/17/20 8:15 AM, Ondrej Mosnacek wrote:
It fits more naturally in selinux_state, since it reflects also global state (the enforcing and policyload fields). Signed-off-by: Ondrej Mosnacek <omosnace@xxxxxxxxxx>
Reviewed-by: Stephen Smalley <sds@xxxxxxxxxxxxx>
--- security/selinux/Makefile | 4 ++-- security/selinux/hooks.c | 1 + security/selinux/include/security.h | 4 ++++ security/selinux/ss/services.c | 2 -- security/selinux/ss/services.h | 2 -- security/selinux/{ss => }/status.c | 32 ++++++++++++++--------------- 6 files changed, 23 insertions(+), 22 deletions(-) rename security/selinux/{ss => }/status.c (81%)
[...]