mbox series

[0/5] Clean up SELinux global variables

Message ID 20210106132622.1122033-1-omosnace@redhat.com (mailing list archive)
Headers show
Series Clean up SELinux global variables | expand

Message

Ondrej Mosnacek Jan. 6, 2021, 1:26 p.m. UTC
Minor cleanups related to SELinux global variables, plus one fix for a
potential TCP SYN flood performance regression on SMP systems.

Ondrej Mosnacek (5):
  selinux: remove unused global variables
  selinux: drop the unnecessary aurule_callback variable
  selinux: make selinuxfs_mount static
  selinux: mark some global variables __ro_after_init
  selinux: mark selinux_xfrm_refcount as __read_mostly

 security/selinux/avc.c              | 10 +++++-----
 security/selinux/ibpkey.c           |  1 -
 security/selinux/include/security.h |  1 -
 security/selinux/netif.c            |  1 -
 security/selinux/netlink.c          |  2 +-
 security/selinux/netnode.c          |  1 -
 security/selinux/netport.c          |  1 -
 security/selinux/selinuxfs.c        |  4 ++--
 security/selinux/ss/avtab.c         |  4 ++--
 security/selinux/ss/ebitmap.c       |  2 +-
 security/selinux/ss/hashtab.c       |  2 +-
 security/selinux/ss/services.c      | 10 +++-------
 security/selinux/xfrm.c             |  2 +-
 13 files changed, 16 insertions(+), 25 deletions(-)