summaryrefslogtreecommitdiff
path: root/security/apparmor/policy.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2012-03-14 13:30:36 +0100
committerJohn Johansen <john.johansen@canonical.com>2012-03-14 19:09:13 -0700
commit2d4cee7e3a2b9f9c3237672cc136e20dbad0e2ce (patch)
tree5ec9bd7d6e135ace242941d51ab1f80478e1293f /security/apparmor/policy.c
parentad5ff3db53c68c2f12936bc74ea5dfe0af943592 (diff)
AppArmor: add const qualifiers to string arrays
Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/policy.c')
-rw-r--r--security/apparmor/policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/policy.c b/security/apparmor/policy.c
index 73288d0b541f..906414383022 100644
--- a/security/apparmor/policy.c
+++ b/security/apparmor/policy.c
@@ -93,7 +93,7 @@
/* root profile namespace */
struct aa_namespace *root_ns;
-const char *profile_mode_names[] = {
+const char *const profile_mode_names[] = {
"enforce",
"complain",
"kill",