Re: [PATCH net-next v3 0/3] Rust abstractions for network PHY drivers
From: Greg KH <gregkh@linuxfoundation.org>
Date: 2023-10-09 14:52:42
Also in:
rust-for-linux
From: Greg KH <gregkh@linuxfoundation.org>
Date: 2023-10-09 14:52:42
Also in:
rust-for-linux
On Mon, Oct 09, 2023 at 04:13:02PM +0200, Miguel Ojeda wrote:
On Mon, Oct 9, 2023 at 3:46 PM Greg KH [off-list ref] wrote:quoted
That's not ok as you want that option enabled on systems that have those broken processors which need this option for proper security. You would be forcing people to disable this to enable Rust support?Yes, that is what would happen. But if we want to avoid the warnings and be proper (even if there are no real users of Rust yet), until the Rust compiler supports it and we wire it up, the only way is that, no?
Then the main CONFIG_HAVE_RUST should have that dependency, don't force it on each individual driver. But note, that is probably not a good marketing statement as you are forced to make your system more insecure in order to use the "secure" language :( thanks, greg k-h