Re: [PATCH 0/2] selinux-testsuite: Use native filesystem for tests

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

 



On Fri, Mar 13, 2020 at 11:47 AM Stephen Smalley
<stephen.smalley.work@xxxxxxxxx> wrote:
>
> On Thu, Mar 12, 2020 at 7:37 AM Richard Haines
> <richard_c_haines@xxxxxxxxxxxxxx> wrote:
> >
> > If you test on the selinux-next kernel (that has the XFS patch [1]) with
> > the "NFS: Ensure security label is set for root inode" patch [2], then all
> > tests should pass. Anything else will give varying amounts of fails.
> >
> > The filesystem types tested are: ext4, xfs, vfat and nfs4.
> >
> > I've revamped the nfs.sh to handle tests that require specific mount
> > options, these plus many more are now in tests/nfs_filesystem. This only
> > gets run by nfs.sh.
> >
> > There are two minor workarounds involving multiple mounts returning EBUSY.
> > These are either bugs or features.
> >
> > [1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/patch/security/selinux?id=e4cfa05e9bfe286457082477b32ecd17737bdbce
> > [2] https://lore.kernel.org/selinux/20200303225837.1557210-1-smayhew@xxxxxxxxxx/
>
> Still failing for me:
> filesystem/test ............. 13/27 Failed mount(2): Permission denied
> filesystem/test ............. 18/27

Sorry, that's on me.  Wrong kernel.  Will retry...



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

  Powered by Linux