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>
This commit is contained in:

committed by
James Morris

parent
c8563473c1
commit
634a539e16
@@ -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",
|
||||
|
Reference in New Issue
Block a user