Re: [PATCH v3] rust: Add support for feeding entropy to randomness pool

From: Kari Argillander

Date: Tue Dec 30 2025 - 08:54:40 EST


On Fri, 26 Dec 2025 at 21:15, Matthew Maurer <mmaurer@xxxxxxxxxx> wrote:
> diff --git a/rust/kernel/rand.rs b/rust/kernel/rand.rs
> new file mode 100644
> index 0000000000000000000000000000000000000000..3e0aef2f53af122f510b34c4743a20452aaad9ad
> --- /dev/null
> +++ b/rust/kernel/rand.rs
> @@ -0,0 +1,18 @@
> +// SPDX-License-Identifier: GPL-2.0
> +
> +//! Randomness.
> +//!
> +//! C header: [`include/linux/random.h`](srctree/include/linux/random.h)

So why rand and not random? If there is good reason to not use random.rs then
can you add that reason to commit message.

Argillander