[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YJUvhGV5EW0tsIpP@kroah.com>
Date: Fri, 7 May 2021 14:16:04 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Matthew Wilcox <willy@...radead.org>
Cc: Ondrej Mosnacek <omosnace@...hat.com>,
"Rafael J. Wysocki" <rafael@...nel.org>, selinux@...r.kernel.org,
linux-security-module@...r.kernel.org,
James Morris <jmorris@...ei.org>,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] debugfs: fix security_locked_down() call for SELinux
On Fri, May 07, 2021 at 01:12:18PM +0100, Matthew Wilcox wrote:
> On Fri, May 07, 2021 at 02:03:04PM +0200, Greg Kroah-Hartman wrote:
> > On Fri, May 07, 2021 at 01:41:50PM +0200, Ondrej Mosnacek wrote:
> > > Make sure that security_locked_down() is checked last so that a bogus
> > > denial is not reported by SELinux when (ia->ia_valid & (ATTR_MODE |
> > > ATTR_UID | ATTR_GID)) is zero.
> >
> > Why would this be "bogus"?
>
> I presume selinux is logging a denial ... but we don't then actually
> deny the operation.
That would be nice to note here...
Powered by blists - more mailing lists