Files
i2som-imx-linux/kernel
Steven Rostedt (Red Hat) 06eec6023c tracing: Protect tracer flags with trace_types_lock
commit 69d34da298 upstream.

Seems that the tracer flags have never been protected from
synchronous writes. Luckily, admins don't usually modify the
tracing flags via two different tasks. But if scripts were to
be used to modify them, then they could get corrupted.

Move the trace_types_lock that protects against tracers changing
to also protect the flags being set.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
[bwh: Backported to 3.2: also move failure return in
 tracing_trace_options_write() after unlocking]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2013-03-27 02:41:14 +00:00
..
2013-03-06 03:24:02 +00:00
2011-09-23 12:05:29 +05:30
2012-10-10 03:30:50 +01:00
2013-03-06 03:24:28 +00:00
2013-01-03 03:33:08 +00:00
2012-07-12 04:31:59 +01:00
2011-10-31 17:30:44 -07:00
2013-01-03 03:32:48 +00:00
2011-08-12 16:21:35 -05:00
2011-09-19 17:04:37 -07:00