diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2013-03-14 13:50:56 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-03-14 13:50:56 -0400 |
commit | 69d34da2984c95b33ea21518227e1f9470f11d95 (patch) | |
tree | d7e414084fd0d64d6e7dd87f7d2e42961c323764 /fs | |
parent | 740466bc89ad8bd5afcc8de220f715f62b21e365 (diff) | |
download | lwn-69d34da2984c95b33ea21518227e1f9470f11d95.tar.gz lwn-69d34da2984c95b33ea21518227e1f9470f11d95.zip |
tracing: Protect tracer flags with trace_types_lock
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.
Cc: stable@vger.kernel.org
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions