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: <2025022052-ferment-vice-a30b@gregkh>
Date: Thu, 20 Feb 2025 13:37:46 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Jan Engelhardt <ej@...i.de>
Cc: Boqun Feng <boqun.feng@...il.com>, "H. Peter Anvin" <hpa@...or.com>,
	Miguel Ojeda <miguel.ojeda.sandonis@...il.com>,
	Christoph Hellwig <hch@...radead.org>,
	rust-for-linux <rust-for-linux@...r.kernel.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	David Airlie <airlied@...il.com>, linux-kernel@...r.kernel.org,
	ksummit@...ts.linux.dev
Subject: Re: Rust kernel policy

On Thu, Feb 20, 2025 at 01:28:58PM +0100, Jan Engelhardt wrote:
> 
> On Wednesday 2025-02-19 06:39, Greg KH wrote:
> >
> >The majority of bugs (quantity, not quality/severity) we have are due to
> >the stupid little corner cases in C that are totally gone in Rust.
> 
> If and when Rust receives its own corner cases in the future,
> I will happily point back to this statement.

I'm not saying that rust has no such issues, I'm saying that a huge
majority of the stupid things we do in C just don't happen in the same
code implemented in rust (i.e. memory leaks, error path cleanups, return
value checking, etc.)

So sure, let's make different types of errors in the future, not
continue to make the same ones we should have learned from already
please :)

thanks,

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ