kernel-hacking-2024-linux-s.../kernel/trace
Steven Rostedt (Red Hat) 820b75f63d tracing: Add paranoid size check in trace_printk_seq()
To be really paranoid about writing out of bound data in
trace_printk_seq(), add another check of len compared to size.

Link: http://lkml.kernel.org/r/20141119144004.GB2332@dhcp128.suse.cz

Suggested-by: Petr Mladek <pmladek@suse.cz>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2014-11-19 22:01:16 -05:00
..
blktrace.c blktrace/tracing: Use trace_seq_has_overflowed() helper function 2014-11-19 15:25:39 -05:00
ftrace.c ftrace/x86/extable: Add is_ftrace_trampoline() function 2014-11-19 15:25:26 -05:00
Kconfig tracing: Remove function_trace_stop and HAVE_FUNCTION_TRACE_MCOUNT_TEST 2014-07-18 13:58:12 -04:00
Makefile tracing: Create seq_buf layer in trace_seq 2014-11-19 22:01:09 -05:00
power-traces.c
ring_buffer.c ring-buffer: Remove check of trace_seq_{puts,printf}() return values 2014-11-19 15:25:40 -05:00
ring_buffer_benchmark.c sched, cleanup, treewide: Remove set_current_state(TASK_RUNNING) after schedule() 2014-09-19 12:35:17 +02:00
rpm-traces.c
seq_buf.c tracing: Use trace_seq_used() and seq_buf_used() instead of len 2014-11-19 22:01:15 -05:00
trace.c tracing: Add paranoid size check in trace_printk_seq() 2014-11-19 22:01:16 -05:00
trace.h tracing: Have function_graph use trace_seq_has_overflowed() 2014-11-19 15:25:42 -05:00
trace_benchmark.c
trace_benchmark.h
trace_branch.c tracing: Have branch tracer use trace_handle_return() helper function 2014-11-19 15:25:41 -05:00
trace_clock.c tracing: Fix wraparound problems in "uptime" trace clock 2014-07-21 09:56:12 -04:00
trace_entries.h
trace_event_perf.c perf: Check permission only for parent tracepoint event 2014-07-28 10:01:38 +02:00
trace_events.c tracing: Use trace_seq_used() and seq_buf_used() instead of len 2014-11-19 22:01:15 -05:00
trace_events_filter.c
trace_events_filter_test.h
trace_events_trigger.c trace: Replace single-character seq_puts with seq_putc 2014-11-14 07:55:55 -05:00
trace_export.c
trace_functions.c tracing: Fix race of function probes counting 2014-11-18 23:06:35 -05:00
trace_functions_graph.c tracing: Use trace_seq_used() and seq_buf_used() instead of len 2014-11-19 22:01:15 -05:00
trace_irqsoff.c
trace_kdb.c tracing: kdb: Fix kernel livelock with empty buffers 2014-11-13 21:27:25 -05:00
trace_kprobe.c kprobes/tracing: Use trace_seq_has_overflowed() for overflow checks 2014-11-19 15:25:43 -05:00
trace_mmiotrace.c tracing: Do not check return values of trace_seq_p*() for mmio tracer 2014-11-19 15:25:44 -05:00
trace_nop.c
trace_output.c tracing: Fix return value of ftrace_raw_output_prep() 2014-11-19 15:25:48 -05:00
trace_output.h tracing: Add trace_seq_has_overflowed() and trace_handle_return() 2014-11-19 15:25:39 -05:00
trace_printk.c trace: Replace single-character seq_puts with seq_putc 2014-11-14 07:55:55 -05:00
trace_probe.c tracing/probes: Do not use return value of trace_seq_printf() 2014-11-19 15:25:44 -05:00
trace_probe.h
trace_sched_switch.c tracing: Move tracing_sched_{switch,wakeup}() into wakeup tracer 2014-11-11 12:43:15 -05:00
trace_sched_wakeup.c tracing: Move tracing_sched_{switch,wakeup}() into wakeup tracer 2014-11-11 12:43:15 -05:00
trace_selftest.c Seems that Peter Zijlstra added a new check that is making old 2014-10-12 07:28:55 -04:00
trace_selftest_dynamic.c
trace_seq.c tracing: Use trace_seq_used() and seq_buf_used() instead of len 2014-11-19 22:01:15 -05:00
trace_stack.c sched: Add helper for task stack page overrun checking 2014-09-19 12:35:23 +02:00
trace_stat.c
trace_stat.h
trace_syscalls.c tracing: Do not use return values of trace_seq_printf() in syscall tracing 2014-11-19 15:25:46 -05:00
trace_uprobe.c tracing: Deletion of an unnecessary check before iput() 2014-11-19 16:28:45 -05:00