[PATCH v3 2/2] rust: add flags for shadow call stack sanitizer

Alice Ryhl aliceryhl at google.com
Tue Jul 9 02:52:04 PDT 2024


On Tue, Jul 9, 2024 at 2:10 AM Sami Tolvanen <samitolvanen at google.com> wrote:
>
> On Thu, Jul 4, 2024 at 10:17 AM Conor Dooley <conor at kernel.org> wrote:
> >
> > For these security related options, like CFI_CLANG or RANDSTRUCT, I'm
> > inclined to say that RUST is actually what should grow the depends on.
> > That way it'll be RUST that gets silently disabled in configs when patch
> > 1 gets backported (where it is mostly useless anyway) rather than SCS
> > nor will it disable SCS when someone enables RUST in their config,
> > instead it'd be a conscious choice.
>
> I agree, we shouldn't silently disable hardening features when Rust is enabled.

That definitely wasn't my intention. I'll update it for v4.

Alice



More information about the linux-arm-kernel mailing list