On Wed, May 27, 2020 at 12:44 PM Stephen Smalley <stephen.smalley.work@xxxxxxxxx> wrote: > > On Fri, May 22, 2020 at 10:58 AM James Carter <jwcart2@xxxxxxxxx> wrote: > > > > Improves writing of CIL category rules when converting MLS kernel > > policy to CIL. No changes to functionality, but eliminate useless > > checks for category aliases when using the p_cat_val_to_name array, > > find the actual number of aliases before allocating memory, and > > skip the category alias rules if there are no aliases. > > > > Signed-off-by: James Carter <jwcart2@xxxxxxxxx> > > This series looks fine to me but do you have a test case that exercises it? See attached.
Attachment:
alias.cil
Description: application/vnd.ms-artgalry
Attachment:
test_cil_alias.sh
Description: application/shellscript