Re: [RFC V2 PATCH 1/2] selinux-testsuite: Use native filesystem for tests - Part 1

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

 



On Tue, 2020-02-25 at 11:26 -0500, Stephen Smalley wrote:
> On Tue, Feb 25, 2020 at 11:18 AM Stephen Smalley
> <stephen.smalley.work@xxxxxxxxx> wrote:
> > If you just ran the nametrans tests in the host filesystem rather
> > than
> > in the separate mount, I think it would work.
> > This would require adjusting the type_transition rules however to
> > reflect the actual parent directory type (probably test_file_t).
> 
> I just confirmed manually that name-based type transitions work over
> labeled NFS.  The problem is just that your existing type_transition
> rules aren't matching on the parent directory type because you are
> creating the files in a separate mount that is using one or more
> context= options rather than in the base mount itself, unlike the
> setfscreatecon() tests above them that just operate within the host
> filesystem.

Thanks, Ill fix




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

  Powered by Linux