[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180510110113.GA6977@amd>
Date: Thu, 10 May 2018 13:01:13 +0200
From: Pavel Machek <pavel@....cz>
To: David Howells <dhowells@...hat.com>
Cc: torvalds@...ux-foundation.org, linux-man@...r.kernel.org,
linux-api@...r.kernel.org, jmorris@...ei.org,
linux-kernel@...r.kernel.org, linux-security-module@...r.kernel.org
Subject: Re: [PATCH 24/24] debugfs: Restrict debugfs when the kernel is
locked down
On Thu 2018-04-19 15:35:47, David Howells wrote:
> Pavel Machek <pavel@....cz> wrote:
>
> > > (1) chmod and chown are disallowed on debugfs objects (though the root dir
> > > can be modified by mount and remount, but I'm not worried about that).
> >
> > This has nothing to do with the lockdown goals, right? I find chown of
> > such files quite nice, to allow debugging without doing sudo all the time.
>
> It allows someone to give everyone access to files that should perhaps only be
> accessible by root. Besides, if you disable lockdown then you can do this if
> you want.
As I said this has nothing to do with lockdown, so does not belong in
this series. (And besides, it is bad idea.)
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)
Powered by blists - more mailing lists