diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2012-03-14 08:30:36 -0400 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2012-03-14 22:09:13 -0400 |
commit | 2d4cee7e3a2b9f9c3237672cc136e20dbad0e2ce (patch) | |
tree | 5ec9bd7d6e135ace242941d51ab1f80478e1293f /security/apparmor/include/audit.h | |
parent | ad5ff3db53c68c2f12936bc74ea5dfe0af943592 (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/include/audit.h')
-rw-r--r-- | security/apparmor/include/audit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/apparmor/include/audit.h b/security/apparmor/include/audit.h index 9317cd81416c..4ba78c203af1 100644 --- a/security/apparmor/include/audit.h +++ b/security/apparmor/include/audit.h | |||
@@ -25,7 +25,7 @@ | |||
25 | 25 | ||
26 | struct aa_profile; | 26 | struct aa_profile; |
27 | 27 | ||
28 | extern const char *audit_mode_names[]; | 28 | extern const char *const audit_mode_names[]; |
29 | #define AUDIT_MAX_INDEX 5 | 29 | #define AUDIT_MAX_INDEX 5 |
30 | 30 | ||
31 | enum audit_mode { | 31 | enum audit_mode { |
@@ -47,7 +47,7 @@ enum audit_type { | |||
47 | AUDIT_APPARMOR_AUTO | 47 | AUDIT_APPARMOR_AUTO |
48 | }; | 48 | }; |
49 | 49 | ||
50 | extern const char *op_table[]; | 50 | extern const char *const op_table[]; |
51 | enum aa_ops { | 51 | enum aa_ops { |
52 | OP_NULL, | 52 | OP_NULL, |
53 | 53 | ||