Message ID | 20240820194910.187826-3-mmaurer@google.com (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 70D80C531DC for <linux-mm@archiver.kernel.org>; Tue, 20 Aug 2024 19:49:26 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 072476B0088; Tue, 20 Aug 2024 15:49:26 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id F3D6C6B0089; Tue, 20 Aug 2024 15:49:25 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E06466B008A; Tue, 20 Aug 2024 15:49:25 -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 BABC76B0088 for <linux-mm@kvack.org>; Tue, 20 Aug 2024 15:49:25 -0400 (EDT) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 3324BA795F for <linux-mm@kvack.org>; Tue, 20 Aug 2024 19:49:25 +0000 (UTC) X-FDA: 82473663090.10.5375F9D Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.202]) by imf29.hostedemail.com (Postfix) with ESMTP id 6C36E12001F for <linux-mm@kvack.org>; Tue, 20 Aug 2024 19:49:23 +0000 (UTC) Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=NiRNscZh; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf29.hostedemail.com: domain of 3QvPEZgcKCHkjjXrobodlldib.Zljifkru-jjhsXZh.lod@flex--mmaurer.bounces.google.com designates 209.85.219.202 as permitted sender) smtp.mailfrom=3QvPEZgcKCHkjjXrobodlldib.Zljifkru-jjhsXZh.lod@flex--mmaurer.bounces.google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1724183347; a=rsa-sha256; cv=none; b=m8wC7dNGRbgL+QL72aNVC3W/IWuVoBu+VLT2fUhXKr9t8nK6ut4rrPjhL1wzrB2Nnh2CAP yC3XiQ8nkiTq6HA2/YqK9ttGoyQuGov6NW/us3CC040OWfG64lZAvWoctzNoUzK3MOngfy PiL8HyWe/HLajrcwQ53YTKPp188gHK4= ARC-Authentication-Results: i=1; imf29.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=NiRNscZh; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf29.hostedemail.com: domain of 3QvPEZgcKCHkjjXrobodlldib.Zljifkru-jjhsXZh.lod@flex--mmaurer.bounces.google.com designates 209.85.219.202 as permitted sender) smtp.mailfrom=3QvPEZgcKCHkjjXrobodlldib.Zljifkru-jjhsXZh.lod@flex--mmaurer.bounces.google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1724183347; 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-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=nhd4bVGt7t2cMFreV83ln0lve5lvedn9wm7Lt/YZotw=; b=Z9hqN9CdhPer+BY0BetWnmfqrs3rFGPYLGsxCml/3uNc9W8FmPvY2QBocQjFzkD3koEqcV Uzl7KdcOXW/k80gTRZH3t+JR8eAorKV1UP8moyZC+NANZ2uO4sAwzzKmfhm/nlxChBpoFs hpc7kxx/zMiu9cSW7sSOjcXqrRy57pk= Received: by mail-yb1-f202.google.com with SMTP id 3f1490d57ef6-e1173581259so8489485276.2 for <linux-mm@kvack.org>; Tue, 20 Aug 2024 12:49:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1724183362; x=1724788162; darn=kvack.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=nhd4bVGt7t2cMFreV83ln0lve5lvedn9wm7Lt/YZotw=; b=NiRNscZhFTRcRdmFp3yC3grX0bK2lUlc1kXs1rYCbPGa7b6ohFSfytFGVHeoYIxVVN UvhAQxPZj33QJZtyzP3imgI+shXs//uYACGQkSxUJXiJl7yQTdTT7rfnLyiomKuUy6O1 a0yixPXbl+MzZ9/8XijLchUs8QffdB9o4uxwlbI4p7okhX06WYDxQgGAZ60AV9xlY6y7 ta+kBjEi8AaNJZzX8pdX7cNqZcYY11L9EohbBezPWLtIlsPpSgmp8vV9xtfDy+IuNwUM LSMgk6w8Hl/DMN3YOZG5lOglInVsXksFZvt3RERuomo9tJfdHH1vCmmB9t+/jTaWByxS Jq1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724183362; x=1724788162; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nhd4bVGt7t2cMFreV83ln0lve5lvedn9wm7Lt/YZotw=; b=p9eKaUZJFd2wz5mM6qvJAiIM2U4BP452PTLIkxJac4jDUqL1aIlF0+lSTymAf08Y7A WeoQ+2BrIuyIETCcAq7zsEmKe3o/qKjJ39/mhtHm+AxBy/TRBr9Kn84tlIfypBZMGgbc yCN4hE9G60r9tRTUa5p8VG3v8qZ1T278IxqTLBnFbVuii3nJ054SpjhVsF2/6te3lt5U S4s556mc4RAjVvfYuh9e+sNFm8FHvkGkefRS34dekG/+JSYy61O5WMQWQwqj/7pxOECF Zoc9MvJem0Iv4YXr/flP3AoW2ow629nXzLmvy6MUCRijs0WNTGjBRdXn6kniErlDyI6b wPFw== X-Forwarded-Encrypted: i=1; AJvYcCX9yyh+ilVQWWZIFQUn1HXaSnOdq0hPBRs/vd3fpiiHVMGcLHHuioUyJ/RsjtDe+xvFttZOKwK4Xg==@kvack.org X-Gm-Message-State: AOJu0Yw2589zujxSKuUXX78ybTtjapT9D8Di/5ESC8wgKpWrdFSHelDU pfvQzMAfPlY177m8gcASCPpTOJYLHtr89DG4E3jLfylUEpE0kbT0uXOiU4Yz2YQvSqCBNGPFtBO GOgNvaA== X-Google-Smtp-Source: AGHT+IEpsPPXTrrUFHSKqTSK6jvaFKxfwi4lcLZMkRceC/2MJEHf7twykkXKb1aOCg41KLuqfqlpbrkDsfBb X-Received: from anyblade.c.googlers.com ([fda3:e722:ac3:cc00:20:ed76:c0a8:1791]) (user=mmaurer job=sendgmr) by 2002:a25:9744:0:b0:e11:5e87:aab with SMTP id 3f1490d57ef6-e1665542f69mr767276.10.1724183362312; Tue, 20 Aug 2024 12:49:22 -0700 (PDT) Date: Tue, 20 Aug 2024 19:48:57 +0000 In-Reply-To: <20240820194910.187826-1-mmaurer@google.com> Mime-Version: 1.0 References: <20240820194910.187826-1-mmaurer@google.com> X-Mailer: git-send-email 2.46.0.184.g6999bdac58-goog Message-ID: <20240820194910.187826-3-mmaurer@google.com> Subject: [PATCH v4 2/4] rust: kasan: Rust does not support KHWASAN From: Matthew Maurer <mmaurer@google.com> To: andreyknvl@gmail.com, ojeda@kernel.org, Alex Gaynor <alex.gaynor@gmail.com>, Wedson Almeida Filho <wedsonaf@gmail.com>, Petr Mladek <pmladek@suse.com>, Andrew Morton <akpm@linux-foundation.org>, Masahiro Yamada <masahiroy@kernel.org>, Yoann Congal <yoann.congal@smile.fr>, Kees Cook <keescook@chromium.org>, Randy Dunlap <rdunlap@infradead.org>, Andrea Parri <parri.andrea@gmail.com>, "Gustavo A. R. Silva" <gustavoars@kernel.org>, Vincent Guittot <vincent.guittot@linaro.org> Cc: dvyukov@google.com, aliceryhl@google.com, samitolvanen@google.com, kasan-dev@googlegroups.com, linux-mm@kvack.org, glider@google.com, ryabinin.a.a@gmail.com, Matthew Maurer <mmaurer@google.com>, Boqun Feng <boqun.feng@gmail.com>, Gary Guo <gary@garyguo.net>, " =?utf-8?q?Bj=C3=B6rn_Roy_Baron?= " <bjorn3_gh@protonmail.com>, Benno Lossin <benno.lossin@proton.me>, Andreas Hindborg <a.hindborg@samsung.com>, linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Rspam-User: X-Rspamd-Queue-Id: 6C36E12001F X-Rspamd-Server: rspam01 X-Stat-Signature: r15ibo63nezdwwgasnbdag8q9b6qr7nh X-HE-Tag: 1724183363-491377 X-HE-Meta: U2FsdGVkX19dpB2mHVpTEcHXTMW8jx5e1MyLFzyJls087TLUdI9Mj2QIYL1NxB1XDCzHcTwJBJlh0kjWeQeAsNmND+GKMAviaf8mDQ1FkxnUi6A6WC0OyZG9eW5pQUMMroquwKXJm+A/Uw//uYZic98uiGlTojRDU7SA+gcIF8ATPhazdJ1typkfQr4W+QeB2wKJyQqTbv0tQsgl0aYBA7zARLYZwl/dvxV0dF/N3Tqyofsve8LvNxhcNNHCdnsVWsjx6koOZjbVpyr+N3OMScVAqdn2cEmznHM4AaAWoEpgu0GK8OD3uLuaCbZG60sZqpRlj+4oBoesibf5le2/YXDicKFJ97DkTZnmBxImD3Z06bXbzAqZMtNlXr/qDPEHRkijpLw6iXTd0rpfn/czVxi16qzzhGqp31qvTUc6RvSGNqk/Qa6C42+oVbHLWHwAntQyt2U6rfGXyITid8AqQoYlxQN/QE/reywrOJY4Kgzpiy80FxA+QJM+iA2ZllJYgwgIxB+R3cBtozr3fp4tBuuwhJu6m+616f5XySISxbNQR1fRWjxb+Pbv/yDXT9D7eQ9vOQvdjBcBWEcAeFafxIn7nZtSNQ6P3N3OMgg5W5UQ4iOQktrDlTmlBL6GimTXADx3KJzKkIcr0MNWcBIsBuXsXmUMdJ7FZYrascxw7HhaQ1MjHGqAHdk1hwDqE7s0TtscJJ3DaYy99coEK6YjAfU9x21kVfASC3xEU8ikYYkKqKEYePhgwx8EQXiW3yLB9JIq3AR8zmTJjM6Cj6kKdlD7CHbJ3LaX2MuceHVrQX06aqpXbgMDEKleR5KJZVZYsj/YrqXbm33rG9elloBmjKMmPhwUDd1TVjwxTq7j1/lmAUUghjYRuLx8QY80rG1X/CRyn5T3xTcsd6tpxHrpBJ1bdYiRmcnYFHBC/fDemKpFPiHbi1xfCfmcXQj0uDqXHbOW4Kj1sIBbXZZU9rR KPBUcUaQ LysVaonj73FtTywRH2RX8L0FVxCM7zKZoLSn/FtfT2wgfoS7M2Agc2g2Z/Ks8V/BgMPoAs1uINYMzTJqYrJIUwlTE3faHqs/e2gnRxuj064vDkXH24OVF+mOg8tbhjlHqGn2HjYBVgQC+0+ZqS34xxtmRiXiWrFQLRh8Fe/zTZC0uZk/l+VA2+2glMavk93FXZK7fzjrkhycfvCiqbAQx0jD752Z6sMZVnIxUCwk4uUEmtS3NCyqC042K11J8gHkhxQA7sHeQYVpv3ZCgZuuJlKt1srPPc3JUJsqrDgQf1EsY4nAU5WFybsqUfNL0mOTRysQYD6TGrzLL0nzSHQUDZ1v+26fo2stDqhrZTCEnXDi41Nx2w5ojItqpLA7VaTDL/M7Z4ZH/QCfu03iO85YMmbfXgq9VBoMFk+7pi4m5RZMrr30u9AI6xMlarsWr8j8PpkxpcuHk9rzMXpv8/nJLu4+NkUHAYEuxtnBCCtcZVY4OtVBB2HPCth0tgTMDicBMF+jdzHFmR5ZA9uxiJi9jxO4tZ1yVIGHFYrzBtPDW+SiAPIyljhMFbWmb9tCpfkMnZB+/5CO9/7fjMEsNH6q/wnQz1A== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000029, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
Rust KASAN Support
|
expand
|
diff --git a/init/Kconfig b/init/Kconfig index 72404c1f2157..a8c3a289895e 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1907,6 +1907,7 @@ config RUST depends on !GCC_PLUGINS depends on !RANDSTRUCT depends on !DEBUG_INFO_BTF || PAHOLE_HAS_LANG_EXCLUDE + depends on !KASAN_SW_TAGS help Enables Rust support in the kernel.
Rust does not yet have support for software tags. Prevent RUST from being selected if KASAN_SW_TAGS is enabled. Signed-off-by: Matthew Maurer <mmaurer@google.com> --- init/Kconfig | 1 + 1 file changed, 1 insertion(+)