aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/ss/services.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2018-11-24 12:11:32 +0300
committerPaul Moore <paul@paul-moore.com>2018-11-26 18:26:22 -0500
commit89f5bebcf0401dac470756869587a50dd72ff7b5 (patch)
tree98630b61406685e21d2c8a4edd7a21114a3dbc23 /security/selinux/ss/services.c
parentselinux: always allow mounting submounts (diff)
downloadlinux-dev-89f5bebcf0401dac470756869587a50dd72ff7b5.tar.xz
linux-dev-89f5bebcf0401dac470756869587a50dd72ff7b5.zip
selinux: make "selinux_policycap_names[]" const char *
Those strings aren't written. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/ss/services.c')
-rw-r--r--security/selinux/ss/services.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/ss/services.c b/security/selinux/ss/services.c
index 7337db24a6a8..0458f4cecff8 100644
--- a/security/selinux/ss/services.c
+++ b/security/selinux/ss/services.c
@@ -71,7 +71,7 @@
#include "audit.h"
/* Policy capability names */
-char *selinux_policycap_names[__POLICYDB_CAPABILITY_MAX] = {
+const char *selinux_policycap_names[__POLICYDB_CAPABILITY_MAX] = {
"network_peer_controls",
"open_perms",
"extended_socket_class",