]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
security: mark LSM hooks as __ro_after_init
authorJames Morris <jmorris@namei.org>
Tue, 14 Feb 2017 13:18:51 +0000 (00:18 +1100)
committerJames Morris <james.l.morris@oracle.com>
Mon, 6 Mar 2017 00:00:15 +0000 (11:00 +1100)
commitca97d939db114c8d1619e10a3b82af8615372dae
treecb16c707c4015b2dcbfc1f783071b5980ddd9145
parentdd0859dccbe291cf8179a96390f5c0e45cb9af1d
security: mark LSM hooks as __ro_after_init

Mark all of the registration hooks as __ro_after_init (via the
__lsm_ro_after_init macro).

Signed-off-by: James Morris <james.l.morris@oracle.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Acked-by: Kees Cook <keescook@chromium.org>
security/apparmor/lsm.c
security/commoncap.c
security/loadpin/loadpin.c
security/security.c
security/selinux/hooks.c
security/smack/smack_lsm.c
security/tomoyo/tomoyo.c
security/yama/yama_lsm.c