diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2010-03-05 00:59:03 -0500 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-03-07 17:33:53 -0500 |
commit | 634a539e16bd7a1ba31c3f832baa725565cc9f96 (patch) | |
tree | cdc26f167c3a2764fecdf3427b2303d28bf05671 /security/selinux/hooks.c | |
parent | c8563473c1259f5686ceb918c548c80132089f79 (diff) |
selinux: const strings in tables
Several places strings tables are used that should be declared
const.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: James Morris <jmorris@namei.org>
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; | |||
329 | 329 | ||
330 | /* The file system's label must be initialized prior to use. */ | 330 | /* The file system's label must be initialized prior to use. */ |
331 | 331 | ||
332 | static char *labeling_behaviors[6] = { | 332 | static const char *labeling_behaviors[6] = { |
333 | "uses xattr", | 333 | "uses xattr", |
334 | "uses transition SIDs", | 334 | "uses transition SIDs", |
335 | "uses task SIDs", | 335 | "uses task SIDs", |