Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292306
b: refs/heads/master
c: 2d4cee7
h: refs/heads/master
v: v3
  • Loading branch information
Jan Engelhardt authored and John Johansen committed Mar 15, 2012
1 parent 78aedfb commit aac0c88
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ad5ff3db53c68c2f12936bc74ea5dfe0af943592
refs/heads/master: 2d4cee7e3a2b9f9c3237672cc136e20dbad0e2ce
6 changes: 3 additions & 3 deletions trunk/security/apparmor/audit.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "include/audit.h"
#include "include/policy.h"

const char *op_table[] = {
const char *const op_table[] = {
"null",

"sysctl",
Expand Down Expand Up @@ -73,15 +73,15 @@ const char *op_table[] = {
"profile_remove"
};

const char *audit_mode_names[] = {
const char *const audit_mode_names[] = {
"normal",
"quiet_denied",
"quiet",
"noquiet",
"all"
};

static char *aa_audit_type[] = {
static const char *const aa_audit_type[] = {
"AUDIT",
"ALLOWED",
"DENIED",
Expand Down
4 changes: 2 additions & 2 deletions trunk/security/apparmor/include/audit.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

struct aa_profile;

extern const char *audit_mode_names[];
extern const char *const audit_mode_names[];
#define AUDIT_MAX_INDEX 5

enum audit_mode {
Expand All @@ -47,7 +47,7 @@ enum audit_type {
AUDIT_APPARMOR_AUTO
};

extern const char *op_table[];
extern const char *const op_table[];
enum aa_ops {
OP_NULL,

Expand Down
2 changes: 1 addition & 1 deletion trunk/security/apparmor/include/policy.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "file.h"
#include "resource.h"

extern const char *profile_mode_names[];
extern const char *const profile_mode_names[];
#define APPARMOR_NAMES_MAX_INDEX 3

#define COMPLAIN_MODE(_profile) \
Expand Down
2 changes: 1 addition & 1 deletion trunk/security/apparmor/policy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit aac0c88

Please sign in to comment.