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

From: Alice Ryhl
Date: Tue Jul 09 2024 - 05:52:26 EST


On Tue, Jul 9, 2024 at 2:10 AM Sami Tolvanen <samitolvanen@xxxxxxxxxx> wrote:
>
> On Thu, Jul 4, 2024 at 10:17 AM Conor Dooley <conor@xxxxxxxxxx> 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