[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130813110618.GA3300@gmail.com>
Date: Tue, 13 Aug 2013 13:06:18 +0200
From: Ingo Molnar <mingo@...nel.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Dave Jones <davej@...hat.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
Frederic Weisbecker <fweisbec@...il.com>,
Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>,
Oleg Nesterov <oleg@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [GIT PULL] tracing: final fixes for events and some
* Steven Rostedt <rostedt@...dmis.org> wrote:
> On Mon, 12 Aug 2013 22:39:22 -0400
> Dave Jones <davej@...hat.com> wrote:
>
>
> > I'm not sure why I got cc'd on this, but for my part, the perf/tracing
> > related bugs I've found recently may have been there for ages, but
> > they were triggerable as non-root users.
>
> Which bug was able to trigger with non-root? The hash one that you
> reported? That is something with the function tracer. Are you able to
> enable function tracing as non-root?
>
> Or is it because you gave more permissions for non-root to use extra
> perf commands. Because no one but root should be able to enable function
> tracing, as that can add a large overhead to the system.
Hm, also, tracepoints should in general only be accessible to root - all
sorts of random privileged info leaks through tracepoints, a thorough
review and sanitizing is needed to expose that to users. (and that does
not consider the complication caused by exposing timing info.)
Thanks,
Ingo
--
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