Message ID | cover.1646237226.git.andreyknvl@google.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id E659AC433F5 for <linux-mm@archiver.kernel.org>; Wed, 2 Mar 2022 16:36:49 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6DAEF8D0002; Wed, 2 Mar 2022 11:36:49 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 65FF48D0001; Wed, 2 Mar 2022 11:36:49 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5297A8D0002; Wed, 2 Mar 2022 11:36:49 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.26]) by kanga.kvack.org (Postfix) with ESMTP id 431B58D0001 for <linux-mm@kvack.org>; Wed, 2 Mar 2022 11:36:49 -0500 (EST) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 12D5D623D0 for <linux-mm@kvack.org>; Wed, 2 Mar 2022 16:36:49 +0000 (UTC) X-FDA: 79200000138.13.F1261FB Received: from out1.migadu.com (out1.migadu.com [91.121.223.63]) by imf05.hostedemail.com (Postfix) with ESMTP id 3584C10000D for <linux-mm@kvack.org>; Wed, 2 Mar 2022 16:36:48 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1646239006; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=u21KV9s2q5sfOslEpw/sDzZbvsgVEVjrwLfohbEqpJg=; b=OCYrJ0Dskjlu+HYjjFC97sPKj6F0lIMr+23nFt90d7yM5h0clSM+2Pu8RNAmPRlE3EBI2l T7qBpnA9NFvU0vwQSEa9iraxP+Gi8yJcYugpQuWF1Xty+8qE/EAHXAjMQ0f8qBZBo4cU91 5kU0eNx02/50A/TPERPno6NbvxGbf4Q= From: andrey.konovalov@linux.dev To: Marco Elver <elver@google.com>, Alexander Potapenko <glider@google.com> Cc: Andrey Konovalov <andreyknvl@gmail.com>, Dmitry Vyukov <dvyukov@google.com>, Andrey Ryabinin <ryabinin.a.a@gmail.com>, kasan-dev@googlegroups.com, Andrew Morton <akpm@linux-foundation.org>, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Konovalov <andreyknvl@google.com> Subject: [PATCH mm 00/22] kasan: report clean-ups and improvements Date: Wed, 2 Mar 2022 17:36:20 +0100 Message-Id: <cover.1646237226.git.andreyknvl@google.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: linux.dev X-Rspam-User: X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 3584C10000D X-Stat-Signature: khgw8jgk74fm511jbdcnu9acexmydymt Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=OCYrJ0Ds; dmarc=pass (policy=none) header.from=linux.dev; spf=pass (imf05.hostedemail.com: domain of andrey.konovalov@linux.dev designates 91.121.223.63 as permitted sender) smtp.mailfrom=andrey.konovalov@linux.dev X-HE-Tag: 1646239008-295878 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000001, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
kasan: report clean-ups and improvements
|
expand
|
From: Andrey Konovalov <andreyknvl@google.com> A number of clean-up patches for KASAN reporting code. Most are non-functional and only improve readability. The patches go on top of mm. Andrey Konovalov (22): kasan: drop addr check from describe_object_addr kasan: more line breaks in reports kasan: rearrange stack frame info in reports kasan: improve stack frame info in reports kasan: print basic stack frame info for SW_TAGS kasan: simplify async check in end_report kasan: simplify kasan_update_kunit_status and call sites kasan: check CONFIG_KASAN_KUNIT_TEST instead of CONFIG_KUNIT kasan: move update_kunit_status to start_report kasan: move disable_trace_on_warning to start_report kasan: split out print_report from __kasan_report kasan: simplify kasan_find_first_bad_addr call sites kasan: restructure kasan_report kasan: merge __kasan_report into kasan_report kasan: call print_report from kasan_report_invalid_free kasan: move and simplify kasan_report_async kasan: rename kasan_access_info to kasan_report_info kasan: add comment about UACCESS regions to kasan_report kasan: respect KASAN_BIT_REPORTED in all reporting routines kasan: reorder reporting functions kasan: move and hide kasan_save_enable/restore_multi_shot kasan: disable LOCKDEP when printing reports include/linux/kasan.h | 4 - mm/kasan/kasan.h | 44 ++++-- mm/kasan/report.c | 312 ++++++++++++++++++++++---------------- mm/kasan/report_generic.c | 34 ++--- mm/kasan/report_hw_tags.c | 1 + mm/kasan/report_sw_tags.c | 15 ++ mm/kasan/report_tags.c | 2 +- 7 files changed, 241 insertions(+), 171 deletions(-)