diff options
author | Hernán Gonzalez <hernan@vanguardiasur.com.ar> | 2018-02-27 19:17:00 -0300 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2018-03-23 06:31:37 -0400 |
commit | 17d7b0af062f587f9cbedce3cb6f39a784651e2f (patch) | |
tree | 9ab60ec793c52922b0f8121a4f8785833704e1ad /security/integrity/evm | |
parent | 1a82cee3e69d8dc89dc2e9995770e7cab0a4c9d8 (diff) |
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>
Diffstat (limited to 'security/integrity/evm')
-rw-r--r-- | security/integrity/evm/evm_main.c | 2 |
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; |