Re: [PATCH v2 3/3] libsepol: Improve writing CIL category rules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux