selinux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SELinux testsuite failure in overlayfs with v4.20-rc kernels
@ 2018-12-12 22:18 James Morris
  2018-12-12 22:24 ` Paul Moore
  0 siblings, 1 reply; 5+ messages in thread
From: James Morris @ 2018-12-12 22:18 UTC (permalink / raw)
  To: selinux
  Cc: Paul Moore, Stephen Smalley, linux-security-module, mszeredi,
	J. Bruce Fields

The SELinux testsuite is failing in the overlayfs tests in current -rc 
kernels. I bisected the issue to

commit 007ea44892e6fa963a0876a979e34890325c64eb
Author: Miklos Szeredi <mszeredi@redhat.com>
Date:   Fri Oct 26 23:34:39 2018 +0200

    ovl: relax permission checking on underlying layers
    
    Make permission checking more consistent:
    
     - special files don't need any access check on underling fs
    
     - exec permission check doesn't need to be performed on underlying fs
    
    Reported-by: "J. Bruce Fields" <bfields@fieldses.org>
    Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>

Reverting this commit fixes the testsuite failure.

Is there any more information on the rationale for the change?


-- 
James Morris
<jmorris@namei.org>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-12-13 14:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-12 22:18 SELinux testsuite failure in overlayfs with v4.20-rc kernels James Morris
2018-12-12 22:24 ` Paul Moore
2018-12-12 23:35   ` James Morris
2018-12-12 23:37   ` James Morris
2018-12-13 14:33     ` Paul Moore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).