On Sat, Nov 24, 2018 at 4:11 AM Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote: > > Those strings aren't written. > > Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx> > --- > > security/selinux/include/security.h | 2 +- > security/selinux/ss/services.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Merged into selinux/next, thanks. > --- 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 > --- a/security/selinux/ss/services.c > +++ b/security/selinux/ss/services.c > @@ -71,7 +71,7 @@ > #include "audit.h" > > /* Policy capability names */ > -char *selinux_policycap_names[__POLICYDB_CAPABILITY_MAX] = { > +const char *selinux_policycap_names[__POLICYDB_CAPABILITY_MAX] = { > "network_peer_controls", > "open_perms", > "extended_socket_class", -- paul moore www.paul-moore.com