[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130413010121.658707789@goodmis.org>
Date: Fri, 12 Apr 2013 21:01:21 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: linux-kernel@...r.kernel.org
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Ingo Molnar <mingo@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>
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(-)
Download attachment "signature.asc" of type "application/pgp-signature" (491 bytes)
Powered by blists - more mailing lists