lkml.org 
[lkml]   [2018]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[ftrace/kprobes PATCH 0/3] tracing: probeevent: Fix module symbol probing
Date
Hi,

This series is for fixing some bugs in Steve's ftrace/kprobes branch.

git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git

Which is based on my fetcharg improvement series.

https://lkml.org/lkml/2018/4/25/601

This includes following fixes.

- Fix copy_from_user() misusing which Dan was reported.
- Fix to reject incorrect probeevent on loaded kernel module.
- Fix to update symbol-based argument on module.
This also checks the symbol-based argument is correct or not when
target module is loaded. If it is not correct, the event is kept
unavailable.

Thank you,

---

Masami Hiramatsu (3):
tracing/uprobes: Fix to return -EFAULT if copy_from_user failed
tracing/kprobes: Check the probe on unloaded module correctly
tracing/kprobes: Allow kprobe-events to record module symbol


kernel/trace/trace_kprobe.c | 51 ++++++++++++++++++++++++++---------
kernel/trace/trace_probe.c | 62 +++++++++++++++++++++++++++++++++++++------
kernel/trace/trace_probe.h | 4 ++-
kernel/trace/trace_uprobe.c | 2 +
4 files changed, 95 insertions(+), 24 deletions(-)

--
Masami Hiramatsu (Linaro) <mhiramat@kernel.org>

\
 
 \ /
  Last update: 2018-08-28 18:19    [W:0.095 / U:0.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site