summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHernán Gonzalez <hernan@vanguardiasur.com.ar>2018-02-27 23:17:00 +0100
committerMimi Zohar <zohar@linux.vnet.ibm.com>2018-03-23 11:31:37 +0100
commit17d7b0af062f587f9cbedce3cb6f39a784651e2f (patch)
tree9ab60ec793c52922b0f8121a4f8785833704e1ad
parentevm: Move evm_hmac and evm_hash from evm_main.c to evm_crypto.c (diff)
downloadlinux-17d7b0af062f587f9cbedce3cb6f39a784651e2f.tar.xz
linux-17d7b0af062f587f9cbedce3cb6f39a784651e2f.zip
evm: Constify *integrity_status_msg[]
There is no gain from doing this except for some self-documenting. Signed-off-by: Hernán Gonzalez <hernan@vanguardiasur.com.ar> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
-rw-r--r--security/integrity/evm/evm_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/integrity/evm/evm_main.c b/security/integrity/evm/evm_main.c
index 826926da7395..7a968faca739 100644
--- a/security/integrity/evm/evm_main.c
+++ b/security/integrity/evm/evm_main.c
@@ -30,7 +30,7 @@
int evm_initialized;
-static char *integrity_status_msg[] = {
+static const char * const integrity_status_msg[] = {
"pass", "pass_immutable", "fail", "no_label", "no_xattrs", "unknown"
};
int evm_hmac_attrs;