kasan-split-out-print_report-from-__kasan_report.patch removed from -mm tree
The patch titled
Subject: kasan: split out print_report from __kasan_report
has been removed from the -mm tree. Its filename was
kasan-split-out-print_report-from-__kasan_report.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Andrey Konovalov <[email protected]>
Subject: kasan: split out print_report from __kasan_report
Split out the part of __kasan_report() that prints things into print_report(). One of the subsequent patches makes another error handler use print_report() as well.
Includes lower-level changes:
- Allow addr_has_metadata() accepting a tagged address.
- Drop the const qualifier from the fields of kasan_access_info to avoid excessive type casts.
- Change the type of the address argument of __kasan_report() and end_report() to void * to reduce the number of type casts.
---
mm/kasan/kasan.h | 7 +++-- mm/kasan/report.c | 58 +++++++++++++++++++++++--------------------- 2 files changed, 35 insertions(+), 30 deletions(-)
mm/kasan/kasan.h renamed from mm/kasan/kasan.h~kasan-split-out-print_report-from-__kasan_report +4 -3
@@ -128,8 +128,8 @@ static inline bool kasan_sync_fault_poss#define META_ROWS_AROUND_ADDR 2struct kasan_access_info { -const void *access_addr; -const void *first_bad_addr; +void *access_addr; +void *first_bad_addr;size_t access_size;bool is_write;unsigned long ip;
@@ -239,7 +239,8 @@ static inline const void *kasan_shadow_tstatic inline bool addr_has_metadata (const void *addr) { -return (addr >=kasan_shadow_to_mem ((void *)KASAN_SHADOW_START )); +return (kasan_reset_tag (addr) >= +kasan_shadow_to_mem ((void *)KASAN_SHADOW_START )); }/**
mm/kasan/report.c renamed from mm/kasan/report.c~kasan-split-out-print_report-from-__kasan_report +31 -27
99 lines not on this page · raw message
_
Patches currently in -mm which might be from [email protected] are
stacktrace-add-interface-based-on-shadow-call-stack.patch arm64-scs-save-scs_sp-values-per-cpu-when-switching-stacks.patch arm64-implement-stack_trace_save_shadow.patch kasan-use-stack_trace_save_shadow.patch