Jonathan Brouwer
0cd8de3843
Rollup merge of #153049 - Darksonn:kasan-sw-tags, r=fmease
...
Add `-Zsanitize=kernel-hwaddress`
The Linux kernel has a config option called `CONFIG_KASAN_SW_TAGS` that enables `-fsanitize=kernel-hwaddress`. This is not supported by Rust.
One slightly awkward detail is that `#[sanitize(address = "off")]` applies to both `-Zsanitize=address` and `-Zsanitize=kernel-address`. Probably it was done this way because both are the same LLVM pass. I replicated this logic here for hwaddress, but it might be undesirable.
Note that `#[sanitize(kernel_hwaddress = "off")]` could be supported as an annotation on statics, but since it's also missing for `#[sanitize(hwaddress = "off")]`, I did not add it.
MCP: https://github.com/rust-lang/compiler-team/issues/975
Tracking issue: https://github.com/rust-lang/rust/issues/154171
cc @rcvalle @maurer @ojeda
2026-03-25 19:52:49 +01:00
..
2024-11-19 22:48:36 +01:00
2024-05-04 11:30:38 +02:00
2024-05-04 11:30:38 +02:00
2025-04-03 21:41:58 +00:00
2025-04-03 21:41:58 +00:00
2025-04-03 21:41:58 +00:00
2025-04-03 21:41:58 +00:00
2025-04-26 11:40:13 +05:30
2024-12-01 20:51:52 +01:00
2024-05-22 20:58:57 +02:00
2025-02-03 13:55:15 -08:00
2025-02-03 13:55:15 -08:00
2025-04-13 21:48:53 +03:00
2025-02-03 13:55:15 -08:00
2025-07-15 23:28:15 +02:00
2025-11-16 18:30:37 -06:00
2026-02-22 19:59:25 +01:00
2026-02-22 19:59:25 +01:00
2024-05-04 11:30:38 +02:00
2025-02-03 13:55:15 -08:00
2024-05-04 11:30:38 +02:00
2025-02-10 20:21:39 +00:00
2024-05-04 11:30:38 +02:00
2025-01-25 12:27:33 +01:00
2025-07-15 09:21:27 +02:00
2025-07-15 09:21:27 +02:00
2024-05-04 11:30:38 +02:00
2024-05-21 20:16:39 +00:00
2024-05-04 11:30:38 +02:00
2024-05-21 20:16:39 +00:00
2025-02-14 00:44:10 -08:00
2024-05-20 11:44:09 +02:00
2025-02-14 00:44:10 -08:00
2024-05-04 11:30:38 +02:00
2024-05-04 11:30:38 +02:00
2025-08-07 15:06:08 -07:00
2025-08-07 15:06:08 -07:00
2025-08-07 15:06:08 -07:00
2025-01-02 16:49:55 +01:00
2024-05-04 11:30:38 +02:00
2025-01-25 12:27:33 +01:00
2025-01-02 16:49:55 +01:00
2025-01-02 16:49:55 +01:00
2025-01-02 16:49:55 +01:00
2025-12-11 18:23:04 +00:00
2025-12-11 18:23:04 +00:00
2025-06-09 21:59:20 +08:00
2025-06-09 21:59:20 +08:00
2024-05-06 07:44:41 +02:00
2024-05-06 07:44:41 +02:00
2025-04-03 09:54:23 +00:00
2024-05-06 07:44:41 +02:00
2024-05-06 07:44:41 +02:00
2024-05-06 07:44:41 +02:00
2024-05-06 07:44:41 +02:00
2024-05-06 07:44:41 +02:00
2024-05-06 07:44:41 +02:00
2024-05-06 07:44:41 +02:00
2024-05-06 07:44:41 +02:00
2024-05-06 07:44:41 +02:00
2024-05-06 07:44:41 +02:00
2024-05-06 07:44:41 +02:00
2024-05-06 07:44:41 +02:00
2025-04-03 21:18:30 +02:00
2024-05-06 07:44:41 +02:00
2024-05-06 07:44:41 +02:00
2024-05-06 07:44:41 +02:00
2024-05-06 07:44:41 +02:00
2024-05-06 07:44:41 +02:00
2024-09-30 12:15:08 +02:00
2024-05-06 07:44:41 +02:00
2024-05-06 07:44:41 +02:00
2024-05-06 07:44:41 +02:00
2025-01-02 16:49:55 +01:00
2025-02-03 13:55:15 -08:00
2025-11-04 21:28:28 -05:00
2025-12-06 10:38:15 +01:00
2025-12-06 10:38:15 +01:00
2025-01-02 16:49:55 +01:00
2025-01-02 16:49:55 +01:00
2024-05-04 11:30:38 +02:00
2025-01-02 16:49:55 +01:00
2024-05-04 11:30:38 +02:00
2024-05-04 11:30:38 +02:00
2024-05-04 11:30:38 +02:00
2025-04-10 09:56:37 +02:00
2025-04-10 09:56:37 +02:00
2025-11-21 18:48:04 +08:00
2025-09-21 13:12:20 -04:00
2024-11-19 22:48:36 +01:00
2025-09-21 13:12:20 -04:00
2024-05-04 11:30:38 +02:00
2025-01-25 12:27:33 +01:00
2024-12-27 19:58:16 +11:00
2026-02-25 21:31:51 +08:00
2025-01-02 16:49:55 +01:00
2025-01-25 12:27:33 +01:00
2024-05-04 11:30:38 +02:00
2024-05-21 20:16:39 +00:00
2024-05-04 11:30:38 +02:00
2024-05-09 14:47:09 +10:00
2024-05-09 14:47:09 +10:00
2024-05-04 11:30:38 +02:00
2024-05-04 11:30:38 +02:00
2024-05-09 14:47:09 +10:00
2024-05-09 14:47:09 +10:00
2026-01-26 12:08:04 +00:00
2025-01-25 12:27:33 +01:00
2025-02-10 20:21:39 +00:00
2025-01-02 16:49:55 +01:00
2026-03-17 20:23:59 +00:00
2025-05-23 18:14:49 +02:00
2025-05-23 18:14:49 +02:00
2025-05-23 18:14:49 +02:00