linux/security/selinux
Stephen Smalley 0619f0f5e3 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>
2018-03-20 16:54:36 -04:00
..
include selinux: rename the {is,set}_enforcing() functions 2018-03-02 14:18:55 -05:00
ss selinux: fix handling of uninitialized selinux state in get_bools/classes 2018-03-20 16:29:17 -04:00
.gitignore
avc.c selinux: rename the {is,set}_enforcing() functions 2018-03-02 14:18:55 -05:00
exports.c
hooks.c selinux: Fix ltp test connect-syscall failure 2018-03-02 16:09:09 -05:00
ibpkey.c selinux: wrap global selinux state 2018-03-01 18:48:02 -05:00
Kconfig
Makefile
netif.c selinux: wrap global selinux state 2018-03-01 18:48:02 -05:00
netlabel.c selinux: wrap global selinux state 2018-03-01 18:48:02 -05:00
netlink.c
netnode.c selinux: wrap global selinux state 2018-03-01 18:48:02 -05:00
netport.c selinux: wrap global selinux state 2018-03-01 18:48:02 -05:00
nlmsgtab.c
selinuxfs.c selinux: wrap selinuxfs state 2018-03-20 16:54:36 -04:00
xfrm.c selinux: wrap global selinux state 2018-03-01 18:48:02 -05:00