diff options
| author | Stephen Hemminger <[email protected]> | 2010-03-05 05:59:03 +0000 |
|---|---|---|
| committer | James Morris <[email protected]> | 2010-03-07 22:33:53 +0000 |
| commit | 634a539e16bd7a1ba31c3f832baa725565cc9f96 (patch) | |
| tree | cdc26f167c3a2764fecdf3427b2303d28bf05671 /security/selinux/hooks.c | |
| parent | Security: Fix some coding styles in security/keys/keyring.c (diff) | |
| download | kernel-634a539e16bd7a1ba31c3f832baa725565cc9f96.tar.gz kernel-634a539e16bd7a1ba31c3f832baa725565cc9f96.zip | |
selinux: const strings in tables
Several places strings tables are used that should be declared
const.
Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
| -rw-r--r-- | security/selinux/hooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 9a2ee845e9d4..e1202cbceeee 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -329,7 +329,7 @@ extern int ss_initialized; /* The file system's label must be initialized prior to use. */ -static char *labeling_behaviors[6] = { +static const char *labeling_behaviors[6] = { "uses xattr", "uses transition SIDs", "uses task SIDs", |
