Steven Rostedt
40e26815fa
tracing: do not allow modifying the ftrace events via the event files
...
Impact: fix to prevent crash on calling NULL function pointer
The ftrace internal records have their format exported via the event
system under the ftrace subsystem. These are only for exporting the
format to allow binary readers to be able to parse them in a binary
output.
The ftrace subsystem events can only be enabled via the ftrace tracers
and do not have a registering function. The event files expect the
event record to have registering function and will call it directly.
Passing in a ftrace subsystem event will cause the kernel to crash
because it will execute a NULL pointer.
This patch prevents the ftrace subsystem from being viewable to the
event enabling files.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
2009-03-10 11:32:40 -04:00
..
blktrace.c
tracing: remove extra latency_trace method from trace structure
2009-03-04 21:42:04 -05:00
events.c
tracing: use generic __stringify
2009-03-10 00:35:05 -04:00
ftrace.c
tracing: fix deadlock when setting set_ftrace_pid
2009-03-06 12:07:38 +01:00
Kconfig
tracing/core: drop the old trace_printk() implementation in favour of trace_bprintk()
2009-03-06 17:59:12 +01:00
kmemtrace.c
Makefile
tracing/core: drop the old trace_printk() implementation in favour of trace_bprintk()
2009-03-06 17:59:12 +01:00
ring_buffer.c
tracing: make all file_operations const
2009-03-05 21:46:40 -05:00
trace.c
tracing/core: drop the old trace_printk() implementation in favour of trace_bprintk()
2009-03-06 17:59:12 +01:00
trace.h
tracing: new format for specialized trace points
2009-03-10 00:35:07 -04:00
trace_boot.c
trace_branch.c
tracing: remove extra latency_trace method from trace structure
2009-03-04 21:42:04 -05:00
trace_clock.c
tracing: implement trace_clock_*() APIs
2009-02-26 18:44:06 +01:00
trace_event_types.h
tracing: new format for specialized trace points
2009-03-10 00:35:07 -04:00
trace_events.c
tracing: do not allow modifying the ftrace events via the event files
2009-03-10 11:32:40 -04:00
trace_events_stage_1.h
tracing: remove obsolete TRACE_EVENT_FORMAT macro
2009-03-10 00:35:12 -04:00
trace_events_stage_2.h
tracing: new format for specialized trace points
2009-03-10 00:35:07 -04:00
trace_events_stage_3.h
tracing: remove obsolete TRACE_EVENT_FORMAT macro
2009-03-10 00:35:12 -04:00
trace_export.c
tracing: new format for specialized trace points
2009-03-10 00:35:07 -04:00
trace_functions.c
tracing/core: use appropriate waiting on trace_pipe
2009-02-18 01:40:20 +01:00
trace_functions_graph.c
tracing/core: drop the old trace_printk() implementation in favour of trace_bprintk()
2009-03-06 17:59:12 +01:00
trace_hw_branches.c
tracing/hw-branch-tracing: convert bts-tracer mutex to a spinlock
2009-02-25 09:16:01 +01:00
trace_irqsoff.c
tracing: have latency tracers set the latency format
2009-03-04 22:15:30 -05:00
trace_mmiotrace.c
tracing/core: drop the old trace_printk() implementation in favour of trace_bprintk()
2009-03-06 17:59:12 +01:00
trace_nop.c
trace_output.c
tracing/core: drop the old trace_printk() implementation in favour of trace_bprintk()
2009-03-06 17:59:12 +01:00
trace_output.h
tracing/core: drop the old trace_printk() implementation in favour of trace_bprintk()
2009-03-06 17:59:12 +01:00
trace_power.c
trace_printk.c
tracing/core: drop the old trace_printk() implementation in favour of trace_bprintk()
2009-03-06 17:59:12 +01:00
trace_sched_switch.c
tracing/core: use appropriate waiting on trace_pipe
2009-02-18 01:40:20 +01:00
trace_sched_wakeup.c
tracing: have latency tracers set the latency format
2009-03-04 22:15:30 -05:00
trace_selftest.c
tracing: use generic __stringify
2009-03-10 00:35:05 -04:00
trace_selftest_dynamic.c
trace_stack.c
trace_stat.c
tracing: fix typing mistake in hint message and comments
2009-02-17 12:38:24 -05:00
trace_stat.h
trace_sysprof.c
tracing: make all file_operations const
2009-03-05 21:46:40 -05:00
trace_workqueue.c