lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <D8ZV9SWWK1OG.1HLXBSCAR76CO@proton.me>
Date: Sun, 06 Apr 2025 21:17:26 +0000
From: Benno Lossin <benno.lossin@...ton.me>
To: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>, Manish Shakya <msh.shakya@...il.com>
Cc: chrisi.schrefl@...il.com, Jamie.Cunliffe@....com, a.hindborg@...nel.org, alex.gaynor@...il.com, aliceryhl@...gle.com, andrew@...n.ch, ardb@...nel.org, bjorn3_gh@...tonmail.com, boqun.feng@...il.com, corbet@....net, gary@...yguo.net, guptarud@...il.com, linus.walleij@...aro.org, linux-arm-kernel@...ts.infradead.org, linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org, linux@...linux.org.uk, ojeda@...nel.org, rust-for-linux@...r.kernel.org, stappers@...ppers.nl, thesven73@...il.com, tmgross@...ch.edu
Subject: Re: [PATCH v3] arm: rust: Enable Rust support for ARMv7

On Sun Apr 6, 2025 at 4:57 PM CEST, Miguel Ojeda wrote:
> On Sun, Apr 6, 2025 at 4:08 PM Manish Shakya <msh.shakya@...il.com> wrote:
>>
>> CONFIG_RUST_DEBUG_ASSERTIONS=y
>
> This is great for testing...
>
>> CONFIG_RUST_BUILD_ASSERT_ALLOW=y
>
> ...but this one should really be disabled (both for testing and for
> production use).
>
> `RUST_BUILD_ASSERT_ALLOW` is really only there as a worst case
> workaround (escape hatch) that nobody should ever hit, hopefully.

Maybe we should rename it to something more discouraging then. Eg
CONFIG_RUST_BUILD_ASSERT_DISABLE.

---
Cheers,
Benno


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ