summaryrefslogtreecommitdiff
path: root/security/selinux/include/avc_ss.h
diff options
context:
space:
mode:
authorStephen Smalley <sds@tycho.nsa.gov>2018-03-20 18:59:11 +0300
committerPaul Moore <paul@paul-moore.com>2018-03-20 23:54:36 +0300
commit0619f0f5e36f12e100ef294f5980cfe7c93ff23e (patch)
tree076490596953fdeefdbe2b39e264eb2df08f97fe /security/selinux/include/avc_ss.h
parent274f62e1e5c74e7cbc5c965ec02b7c590da4b2fe (diff)
downloadlinux-0619f0f5e36f12e100ef294f5980cfe7c93ff23e.tar.xz
selinux: wrap selinuxfs state
Move global selinuxfs state to a per-instance structure (selinux_fs_info), and include a pointer to the selinux_state in this structure. Pass this selinux_state to all security server operations, thereby ensuring that each selinuxfs instance presents a view of and acts as an interface to a particular selinux_state instance. This change should have no effect on SELinux behavior or APIs (userspace or LSM). It merely wraps the selinuxfs global state, links it to a particular selinux_state (currently always the single global selinux_state) and uses that state for all operations. Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/include/avc_ss.h')
0 files changed, 0 insertions, 0 deletions