Re: [GIT PULL] tracing: final fixes for events and some

From: Ingo Molnar
Date: Tue Aug 13 2013 - 07:06:28 EST



* Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> On Mon, 12 Aug 2013 22:39:22 -0400
> Dave Jones <davej@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/