integrity: mark default IMA rules as __ro_after_init
authorJames Morris <jmorris@namei.org>
Mon, 13 Feb 2017 05:34:35 +0000 (16:34 +1100)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Tue, 7 Mar 2017 00:08:57 +0000 (19:08 -0500)
commitbad4417b692ede5cf31105b329cea1544875b526
treef50866238676d8c414047e2509145f9e7251bc2d
parentca97d939db114c8d1619e10a3b82af8615372dae
integrity: mark default IMA rules as __ro_after_init

The default IMA rules are loaded during init and then do not
change, so mark them as __ro_after_init.

Signed-off-by: James Morris <james.l.morris@oracle.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
security/integrity/ima/ima_policy.c