lkml.org 
[lkml]   [2013]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH 0/2] [GIT PULL][v3.9-rc7] tracing: Another fix by Namhyung

Linus,

Namhyung found and fixed another nasty bug, where you can crash the
kernel with: echo 1234 | tee -a /sys/kernel/debug/tracing/set_ftrace_pid

Luckily, only root has permissions to write to that file.

I also added a fix on top of Namhyung's as his patch added a reference
outside of the DYNAMIC_FTRACE to a function that is only defined
in DYNAMIC_FTRACE. This fixes compiling with FUNCTION_TRACING and
without DYNAMIC_FTRACE (although I don't know who does that anymore).

-- Steve

Please pull the latest trace-fixes-v3.9-rc-v3 tree, which can be found at:

git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
trace-fixes-v3.9-rc-v3

Head SHA1: 0e1bb617b40659414778baf3203c2ea0dcda1ca7


Namhyung Kim (1):
tracing: Fix possible NULL pointer dereferences

Steven Rostedt (Red Hat) (1):
ftrace: Move ftrace_filter_lseek out of CONFIG_DYNAMIC_FTRACE section

----
include/linux/ftrace.h | 3 ++-
kernel/trace/ftrace.c | 36 ++++++++++++++++++------------------
kernel/trace/trace_stack.c | 2 +-
3 files changed, 21 insertions(+), 20 deletions(-)
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2013-04-13 03:21    [W:0.045 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site