aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/cpu.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-03-10 11:32:40 -0400
committerSteven Rostedt <srostedt@redhat.com>2009-03-10 11:32:40 -0400
commit40e26815fafd3b8c4aced17b1f22e68ef33eb8db (patch)
treeace92f7335ad97144d57ef91af0b82da88db4335 /kernel/cpu.c
parentce8eb2bf05042452107e489782105d2e235cbdd0 (diff)
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>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions