On Mon, Feb 3, 2020 at 6:27 AM Ondrej Mosnacek <omosnace@xxxxxxxxxx> wrote: > > Since it is fixed-size after allocation and we know the size beforehand, > using a plain old array is simpler and more efficient. > > While there, also fix signedness of some related variables/parameters. > > Signed-off-by: Ondrej Mosnacek <omosnace@xxxxxxxxxx> > --- > security/selinux/include/conditional.h | 8 ++-- > security/selinux/selinuxfs.c | 4 +- > security/selinux/ss/conditional.c | 54 ++++++++++---------------- > security/selinux/ss/conditional.h | 3 +- > security/selinux/ss/policydb.c | 2 +- > security/selinux/ss/policydb.h | 3 +- > security/selinux/ss/services.c | 28 ++++++------- > 7 files changed, 43 insertions(+), 59 deletions(-) Merged into selinux/next, thanks Ondrej. -- paul moore www.paul-moore.com