selinux: mark some global variables __ro_after_init
authorOndrej Mosnacek <omosnace@redhat.com>
Wed, 6 Jan 2021 13:26:21 +0000 (14:26 +0100)
committerPaul Moore <paul@paul-moore.com>
Tue, 12 Jan 2021 15:08:55 +0000 (10:08 -0500)
commitcd2bb4cb0996f73ad31604d86c1c0815fc813349
tree15b255b59158c1f33cfdbfb40f111b3fa9235a61
parentdb478cd60d55db5f1736510786cf14b4b79718d3
selinux: mark some global variables __ro_after_init

All of these are never modified outside initcalls, so they can be
__ro_after_init.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/avc.c
security/selinux/netlink.c
security/selinux/selinuxfs.c
security/selinux/ss/avtab.c
security/selinux/ss/ebitmap.c
security/selinux/ss/hashtab.c