On Wed, Mar 4, 2020 at 12:11 PM Joshua Brindle <joshua.brindle@xxxxxxxxxxxxxxx> wrote: > > On Wed, Mar 4, 2020 at 11:54 AM Stephen Smalley > <stephen.smalley.work@xxxxxxxxx> wrote: > > > > On Tue, Mar 3, 2020 at 3:54 AM Ondrej Mosnacek <omosnace@xxxxxxxxxx> wrote: > > > > > > Adds a basic test for the "glblub" default_range mode introduced in > > > kernel commit [1] and userspace commit [2]. The test vectors are taken > > > from the original commit messages. > > I'm confused, I submitted tests at Paul's request. The patch is here > but says superceded: > https://patchwork.kernel.org/patch/11119909/ > It's been a while so I'm just rereading mine, I also attempted to differentiate between MLS and MCS policies on the system running the tests so that they could run on the MLS policies directly (which is where glblub support is utilized), and I also verify the default (non glblub) behavior to ensure we didn't impact normal computations. Unless there is a compelling reason I think mine should be merged rather than this one. > > > > > > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=42345b68c2e3e2b6549fc34b937ff44240dfc3b6 > > > [2] https://github.com/SELinuxProject/selinux/commit/9ba35fe8c280b7c91ec65b138d9f13e44ededaa9 > > > > > > Cc: Joshua Brindle <joshua.brindle@xxxxxxxxxxxxxxx> > > > Signed-off-by: Ondrej Mosnacek <omosnace@xxxxxxxxxx> > > > > Acked-by: Stephen Smalley <sds@xxxxxxxxxxxxx>