selinux: move status variables out of selinux_ss
authorOndrej Mosnacek <omosnace@redhat.com>
Fri, 17 Jan 2020 13:15:14 +0000 (14:15 +0100)
committerPaul Moore <paul@paul-moore.com>
Mon, 10 Feb 2020 15:49:01 +0000 (10:49 -0500)
commit4b36cb773a8153417a080f8025d522322f915aea
treea7a24544c4b50c91f43dde124e711b76e2b6c4d6
parentbb6d3fb354c5ee8d6bde2d576eb7220ea09862b9
selinux: move status variables out of selinux_ss

It fits more naturally in selinux_state, since it reflects also global
state (the enforcing and policyload fields).

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
Reviewed-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/Makefile
security/selinux/hooks.c
security/selinux/include/security.h
security/selinux/ss/services.c
security/selinux/ss/services.h
security/selinux/status.c [moved from security/selinux/ss/status.c with 81% similarity]