Message ID | 20230509145735.9263-1-arnd@kernel.org (mailing list archive) |
---|---|
State | New |
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 998EEC77B7C for <linux-mm@archiver.kernel.org>; Tue, 9 May 2023 14:57:49 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id DF731280018; Tue, 9 May 2023 10:57:48 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D7FFA280012; Tue, 9 May 2023 10:57:48 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C2109280018; Tue, 9 May 2023 10:57:48 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id AFDE3280012 for <linux-mm@kvack.org>; Tue, 9 May 2023 10:57:48 -0400 (EDT) Received: from smtpin09.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 74762A03AD for <linux-mm@kvack.org>; Tue, 9 May 2023 14:57:48 +0000 (UTC) X-FDA: 80771021016.09.0DC4035 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf24.hostedemail.com (Postfix) with ESMTP id 9D9DC18000C for <linux-mm@kvack.org>; Tue, 9 May 2023 14:57:46 +0000 (UTC) Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=dFY7jYTx; spf=pass (imf24.hostedemail.com: domain of arnd@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=arnd@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1683644266; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=ARJHbR0XP6hsc9u2qnJXZgeZBpff6BaM65APFiCJYVo=; b=tWEi7lkfFzbtl+9fjEXSdVlamfj/Zuh0ZmBpqPj0pb7dUBqJEskbMWGAwNk5hdzeWn25So 8H35MNcOeOCcSreq4SafUbK2VHfzDnkdKjH83Qryjq76alnNT0pOzBt019DppaP2vdA5Mw x1875LBbMzlQIW8X/9fyA+2p5Al4DTY= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1683644266; a=rsa-sha256; cv=none; b=KrZb7icWoNHgOhyGki9qjtDlMt6D+eKC9MAmiM996832VzT0DJ/m7KNMojjkDsP6RL1470 43qNl3pWAs/8eVnOwjp4BLkTb3lMLuIWCzgX5CTgHEQv1qy3PRjhn79eskJ3WtiRcBeQBL yBli/JZLohRNPY/BYrX3GDHiklY2pJg= ARC-Authentication-Results: i=1; imf24.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=dFY7jYTx; spf=pass (imf24.hostedemail.com: domain of arnd@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=arnd@kernel.org; dmarc=pass (policy=none) header.from=kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 49CE16148E; Tue, 9 May 2023 14:57:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1E47EC433D2; Tue, 9 May 2023 14:57:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683644264; bh=8kpzffon4c7U76Nx4fRs+z+9nZ2f5EaWU4V5dVQ6n0Q=; h=From:To:Cc:Subject:Date:From; b=dFY7jYTxkQy1d+Wx7GQyxgjoLx5KR+hJo7zg/bSri2X5OiKl5IW9MWmOaTrXNBYIg 0Kc4YMwQkOxlpcfph8P0/BWy2Js9N5c9yClZcW5PyxEIAzhUmQqyW9U8n2LFtlglSI J0v3yNvOkhWEZbkoTUh6LjU3h5S4R4EeZbWaaXH1ZUQkmUfNwFh4eScSC98tFq6hbl REMLiZOS3AwgVri27469BI6aS9fVQFt2GrzUkERQnR7mu6VU7iHuijefB02PHBKlXZ k78UDiPbmlh0nJUzcLgK1fSmyrj1LeA1wa18MLmTANs+H+vNhRHhXiS6GUUh7gSQOK Ex2cruxneCCfg== From: Arnd Bergmann <arnd@kernel.org> To: Andrey Ryabinin <ryabinin.a.a@gmail.com>, Andrew Morton <akpm@linux-foundation.org> Cc: Arnd Bergmann <arnd@arndb.de>, Alexander Potapenko <glider@google.com>, Andrey Konovalov <andreyknvl@gmail.com>, Dmitry Vyukov <dvyukov@google.com>, Vincenzo Frascino <vincenzo.frascino@arm.com>, Marco Elver <elver@google.com>, kasan-dev@googlegroups.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] kasan: add kasan_tag_mismatch prototype Date: Tue, 9 May 2023 16:57:20 +0200 Message-Id: <20230509145735.9263-1-arnd@kernel.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Stat-Signature: 33q9fw737w8u6ab9fg67hwysumac3cf9 X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 9D9DC18000C X-Rspam-User: X-HE-Tag: 1683644266-688676 X-HE-Meta: U2FsdGVkX19ks8gyuLxvsVKEEyxWJe+fQoPE98eMipGunBgGeHmYuYcbLAnZFvhKerpMN7DZdNPMuievaQ3EKOxnSvAIcRt90boRaBXktWKhsZoLg08BcFBRJwy+cEZ7AGvNRYV9AYC+YosEcEgMlGvoYB8sAT1IpyxDHRa2jAe7niuP11OCwqTkXvxge/MtvmJW3rylE/8ZDX+8EyE81IGiOF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FGBFm3oCMb/1nUPXvS/rt91Ao4hGIAS8ACLnjrWxSU8WULhecsLUq2gyqgzmtLNG4zzWmPgw9Zv2nZML0ttMqH57MXWbjQrvNk= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, 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 |
[1/2] kasan: add kasan_tag_mismatch prototype
|
expand
|
diff --git a/mm/kasan/kasan.h b/mm/kasan/kasan.h index f5e4f5f2ba20..cd846ca34f44 100644 --- a/mm/kasan/kasan.h +++ b/mm/kasan/kasan.h @@ -646,4 +646,7 @@ void *__hwasan_memset(void *addr, int c, size_t len); void *__hwasan_memmove(void *dest, const void *src, size_t len); void *__hwasan_memcpy(void *dest, const void *src, size_t len); +void kasan_tag_mismatch(unsigned long addr, unsigned long access_info, + unsigned long ret_ip); + #endif /* __MM_KASAN_KASAN_H */