aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/ss
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2010-03-04 21:59:03 -0800
committerJames Morris <jmorris@namei.org>2010-03-08 09:33:53 +1100
commit634a539e16bd7a1ba31c3f832baa725565cc9f96 (patch)
treecdc26f167c3a2764fecdf3427b2303d28bf05671 /security/selinux/ss
parentc8563473c1259f5686ceb918c548c80132089f79 (diff)
downloadmrst-s0i3-test-634a539e16bd7a1ba31c3f832baa725565cc9f96.tar.gz
mrst-s0i3-test-634a539e16bd7a1ba31c3f832baa725565cc9f96.tar.xz
mrst-s0i3-test-634a539e16bd7a1ba31c3f832baa725565cc9f96.zip
selinux: const strings in tables
Several places strings tables are used that should be declared const. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/selinux/ss')
-rw-r--r--security/selinux/ss/policydb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/ss/policydb.c b/security/selinux/ss/policydb.c
index f03667213ea..62361985189 100644
--- a/security/selinux/ss/policydb.c
+++ b/security/selinux/ss/policydb.c
@@ -40,7 +40,7 @@
#define _DEBUG_HASHES
#ifdef DEBUG_HASHES
-static char *symtab_name[SYM_NUM] = {
+static const char *symtab_name[SYM_NUM] = {
"common prefixes",
"classes",
"roles",