[PATCH v3 0/2] rust: add support for Software Tag-Based KASAN

Alice Ryhl posted 2 patches 2 months ago
init/Kconfig           | 3 ++-
scripts/Makefile.kasan | 2 --
2 files changed, 2 insertions(+), 3 deletions(-)
[PATCH v3 0/2] rust: add support for Software Tag-Based KASAN
Posted by Alice Ryhl 2 months ago
Please see the commit message of the last patch for details.

Signed-off-by: Alice Ryhl <aliceryhl@google.com>
---
Changes in v3:
- Disallow mixing kasan with gcc.
- Link to v2: https://lore.kernel.org/r/20260331-kasan-rust-sw-tags-v2-1-f6765e3e1a2f@google.com

Changes in v2:
- Drop the first patch for -Zsanitizer-recover, and mention why in
  commit message for remaining patch.
- Pick up tags.
- Link to v1: https://lore.kernel.org/r/20260325-kasan-rust-sw-tags-v1-0-7d3a765a72aa@google.com

---
Alice Ryhl (2):
      rust: kasan: KASAN+RUST requires clang
      rust: kasan: add support for Software Tag-Based KASAN

 init/Kconfig           | 3 ++-
 scripts/Makefile.kasan | 2 --
 2 files changed, 2 insertions(+), 3 deletions(-)
---
base-commit: 1f318b96cc84d7c2ab792fcc0bfd42a7ca890681
change-id: 20260325-kasan-rust-sw-tags-c5afff30e63a

Best regards,
-- 
Alice Ryhl <aliceryhl@google.com>
Re: [PATCH v3 0/2] rust: add support for Software Tag-Based KASAN
Posted by Miguel Ojeda 2 weeks, 2 days ago
On Wed, Apr 8, 2026 at 10:32 AM Alice Ryhl <aliceryhl@google.com> wrote:
>
>       rust: kasan: KASAN+RUST requires clang
>       rust: kasan: add support for Software Tag-Based KASAN

Applied to `rust-next` -- thanks everyone!

If KASAN/Kbuild doesn't want that I take it, then please let me know,
happy to drop them, in which case:

  Acked-by: Miguel Ojeda <ojeda@kernel.org>

Otherwise, I will keep them -- Acked-by's appreciated, of course!

Cheers,
Miguel
Re: [PATCH v3 0/2] rust: add support for Software Tag-Based KASAN
Posted by Gary Guo 2 months ago
On Wed Apr 8, 2026 at 9:32 AM BST, Alice Ryhl wrote:
> Please see the commit message of the last patch for details.
>
> Signed-off-by: Alice Ryhl <aliceryhl@google.com>
> ---
> Changes in v3:
> - Disallow mixing kasan with gcc.
> - Link to v2: https://lore.kernel.org/r/20260331-kasan-rust-sw-tags-v2-1-f6765e3e1a2f@google.com
>
> Changes in v2:
> - Drop the first patch for -Zsanitizer-recover, and mention why in
>   commit message for remaining patch.
> - Pick up tags.
> - Link to v1: https://lore.kernel.org/r/20260325-kasan-rust-sw-tags-v1-0-7d3a765a72aa@google.com
>
> ---

Reviewed-by: Gary Guo <gary@garyguo.net>

> Alice Ryhl (2):
>       rust: kasan: KASAN+RUST requires clang
>       rust: kasan: add support for Software Tag-Based KASAN
>
>  init/Kconfig           | 3 ++-
>  scripts/Makefile.kasan | 2 --
>  2 files changed, 2 insertions(+), 3 deletions(-)
> ---
> base-commit: 1f318b96cc84d7c2ab792fcc0bfd42a7ca890681
> change-id: 20260325-kasan-rust-sw-tags-c5afff30e63a
>
> Best regards,