tracing/filter: make filter_pred_pchar() survive the access to user space
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tracing/filter: degrade addr in filter_pred_string() from double pointer to pointerkernel/ | +3 | 2 replies | |
| 2/3 | tracing/filter: harden the prototype of predicate_parse()kernel/ | +4 | 0 replies | |
| 3/3 | tracing/filter: make filter_pred_pchar() survive the access to user spacekernel/ kernel/ | +27 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] tracing/filter: make filter_pred_pchar() survive the access to user space
When
echo "filename ~ \"cpu\"" > events/syscalls/sys_enter_openat/filter echo 1 > events/syscalls/sys_enter_at/enable
The kernel will run into a #PF (see [3/3].
This series resorts to copy_from_user() to cope with the access to user space.
Cc: Steven Rostedt <[email protected]>
Cc: Ingo Molnar <[email protected]>
To: [email protected]
Pingfan Liu (3):
tracing/filter: degrade addr in filter_pred_string() from double
pointer to pointer
tracing/filter: harden the prototype of predicate_parse() tracing/filter: make filter_pred_pchar() survive the access to user
space
kernel/trace/trace.h | 1 + kernel/trace/trace_events_filter.c | 38 ++++++++++++++++++++++++------ 2 files changed, 32 insertions(+), 7 deletions(-)
Signature · 1 line
2.31.1