diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2018-11-24 12:11:32 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2018-11-26 18:26:22 -0500 |
commit | 89f5bebcf0401dac470756869587a50dd72ff7b5 (patch) | |
tree | 98630b61406685e21d2c8a4edd7a21114a3dbc23 /security/selinux/include | |
parent | 2cbdcb882f97a45f7475c67ac6257bbc16277dfe (diff) |
selinux: make "selinux_policycap_names[]" const char *
Those strings aren't written.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/include')
-rw-r--r-- | security/selinux/include/security.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h index 23e762d529fa..ba8eedf42b90 100644 --- a/security/selinux/include/security.h +++ b/security/selinux/include/security.h @@ -81,7 +81,7 @@ enum { }; #define POLICYDB_CAPABILITY_MAX (__POLICYDB_CAPABILITY_MAX - 1) -extern char *selinux_policycap_names[__POLICYDB_CAPABILITY_MAX]; +extern const char *selinux_policycap_names[__POLICYDB_CAPABILITY_MAX]; /* * type_datum properties |