diff options
author | James Morris <james.l.morris@oracle.com> | 2012-03-15 04:43:02 +0100 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2012-03-15 04:43:02 +0100 |
commit | b01d3fb921df9baef1ecd13704f4b1e269b58b6b (patch) | |
tree | 1ca714b40774cd56c0194abee5c6577b2ba6aad2 /security/apparmor/audit.c | |
parent | TOMOYO: Return appropriate value to poll(). (diff) | |
parent | AppArmor: add const qualifiers to string arrays (diff) | |
download | linux-b01d3fb921df9baef1ecd13704f4b1e269b58b6b.tar.xz linux-b01d3fb921df9baef1ecd13704f4b1e269b58b6b.zip |
Merge branch 'for-security' of git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor into next
Diffstat (limited to 'security/apparmor/audit.c')
-rw-r--r-- | security/apparmor/audit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/security/apparmor/audit.c b/security/apparmor/audit.c index 61344b56722e..5ff67776a5ad 100644 --- a/security/apparmor/audit.c +++ b/security/apparmor/audit.c @@ -19,7 +19,7 @@ #include "include/audit.h" #include "include/policy.h" -const char *op_table[] = { +const char *const op_table[] = { "null", "sysctl", @@ -73,7 +73,7 @@ const char *op_table[] = { "profile_remove" }; -const char *audit_mode_names[] = { +const char *const audit_mode_names[] = { "normal", "quiet_denied", "quiet", @@ -81,7 +81,7 @@ const char *audit_mode_names[] = { "all" }; -static char *aa_audit_type[] = { +static const char *const aa_audit_type[] = { "AUDIT", "ALLOWED", "DENIED", |