[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110224173417.GE19481@khazad-dum.debian.net>
Date: Thu, 24 Feb 2011 14:34:17 -0300
From: Henrique de Moraes Holschuh <hmh@....eng.br>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Dan Carpenter <error27@...il.com>, Greg KH <gregkh@...e.de>,
Kees Cook <kees.cook@...onical.com>,
linux-kernel@...r.kernel.org, Eugene Teo <eugeneteo@...nel.sg>,
Ralph Campbell <infinipath@...gic.com>,
Roland Dreier <roland@...nel.org>,
Sean Hefty <sean.hefty@...el.com>,
Hal Rosenstock <hal.rosenstock@...il.com>,
Jeremy Fitzhardinge <jeremy.fitzhardinge@...rix.com>,
Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>,
Alexander Viro <viro@...iv.linux.org.uk>,
Miklos Szeredi <miklos@...redi.hu>,
"J. Bruce Fields" <bfields@...ldses.org>,
Neil Brown <neilb@...e.de>, Matthew Wilcox <matthew@....cx>,
James Morris <jmorris@...ei.org>,
Stephen Smalley <sds@...ho.nsa.gov>,
Eric Paris <eparis@...isplace.org>,
Nick Piggin <npiggin@...nel.dk>, Arnd Bergmann <arnd@...db.de>,
Ian Campbell <ian.campbell@...rix.com>,
Jarkko Sakkinen <ext-jarkko.2.sakkinen@...ia.com>,
Tejun Heo <tj@...nel.org>,
Casey Schaufler <casey@...aufler-ca.com>
Subject: Re: [PATCH 2/2] debugfs: only allow root access to debugging
interfaces
On Thu, 24 Feb 2011, Steven Rostedt wrote:
> On Tue, Feb 22, 2011 at 05:58:47PM -0300, Henrique de Moraes Holschuh wrote:
> > I do wish this went in. debugfs is a hazard, both security-wise and
> > kernel-quality wise. Anything that has to end up enabled in a distro
> > kernel really does not belong in debugfs. In fact, if you would object
> > to a kernel taint if a feature is used, IMO it certainly don't belong on
> > debugfs.
>
> It was also because we had no idea how ftrace was going to be used and
> what the final ABI was going to be. I was hoping that we can experiment
> with the interface and after some time we could move it out of debugfs
> with a stable ABI. But this, for various reasons, never materialized.
>
> Currently things are still in a large flux, and I do not know how this
> will play out. Although the changes in /debugfs/tracing has toned down a
> lot, there's also the work going in on how to merge perf and ftrace.
> This may start changes as well, and perhaps deprecate interfaces. I
> don't know.
How will that play with Linus' ruling that "you shipped it, someone used it,
it becomes an stable ABI" ?
Some middle ground is clearly needed, here.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists