diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-02-26 23:55:58 -0500 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-02-26 23:55:58 -0500 |
commit | d8e83d26b5ab3b31ee0ff6d093a2627707a1e221 (patch) | |
tree | a8a24753ca24db4f3dd9bb887962e4cdcffac314 /security/smack | |
parent | 577b785f55168d5acb3d123ba41bfe8d7981e044 (diff) |
tracing: add protection around open use of current_tracer
Impact: fix to possible race conditions
There's some uses of current_tracer that is not protected by the
trace_types_lock. There is a small chance that a sysadmin changes
the tracer while the current_tracer is being referenced.
If the race is hit, it is unlikely to cause any harm since the
tracers are constant and are not freed. But some strang side
effects may occur.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'security/smack')
0 files changed, 0 insertions, 0 deletions