From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from zeniv.linux.org.uk (zeniv.linux.org.uk [62.89.141.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 420F419A for ; Sun, 26 Jun 2022 03:19:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linux.org.uk; s=zeniv-20220401; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ujnZBVemzpIfAkYjmZnVIr5Gv0ed9tEb9t3o8qrBMlI=; b=E3eH8rx4gcJPtdtOzPmIU5bll5 LQze/gi4UOTbknpq62BrmPENXos7HT/i0uKkuj6IY3WNzWpPtW8qwiTUKGjjro9KGS3wx6M1Om+j1 3Ng7YbMh+eXqHHjRBHUkCzTeIfPXEVXHH3SV5/o7bomRwWPL9HqJWJnZZb2siyqXcEtMP7nOsA72l nfydQyZismHfXjtFLLUl94FzrjDZfLNzlKD9PaIpWiTZ1l76siEwz5/WCiMsOgwHVh12b4y1KyVjI 3qvUeUveHD0YegcNn9kvsFI57htbEyx7/tbozTXKXrNJVl0TXbBD4Eic5PFpzY2nYMlsvQ+Q9PNWI l8vaGwwg==; Received: from viro by zeniv.linux.org.uk with local (Exim 4.95 #2 (Red Hat Linux)) id 1o5Ina-004b8L-Rd; Sun, 26 Jun 2022 03:18:58 +0000 Date: Sun, 26 Jun 2022 04:18:58 +0100 From: Al Viro To: Theodore Ts'o Cc: Linus Walleij , Mauro Carvalho Chehab , James Bottomley , Laurent Pinchart , Jens Axboe , Christoph Hellwig , Miguel Ojeda , ksummit@lists.linux.dev Subject: Re: [Ksummit-discuss] [TECH TOPIC] Rust Message-ID: References: <2513dc4528c71d34d400c104e91ada6517869886.camel@HansenPartnership.com> <20220625124522.507a5b06@sal.lan> Precedence: bulk X-Mailing-List: ksummit@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Al Viro On Sat, Jun 25, 2022 at 10:52:27PM -0400, Theodore Ts'o wrote: > ksmbd needs to interface with a large number of subsystems that are > written in C. So even if you rewrite ksmbd in Rust, it will need to > made a huge number of unsafe calls into C code. Not to mention the fact that ksmbd bugs I've seen so far had nothing to do with "memory safety" and they would translate into Rust just fine, TYVM, even if the stuff outside of ksmbd had also been all in Rust...