[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220301231038.530897-1-Jason@zx2c4.com>
Date: Wed, 2 Mar 2022 00:10:35 +0100
From: "Jason A. Donenfeld" <Jason@...c4.com>
To: linux-kernel@...r.kernel.org, linux-crypto@...r.kernel.org,
netdev@...r.kernel.org, Alexander Graf <graf@...zon.com>,
Jann Horn <jannh@...gle.com>,
Greg KH <gregkh@...uxfoundation.org>
Cc: "Jason A. Donenfeld" <Jason@...c4.com>
Subject: [PATCH 0/3] random: wire up in-kernel virtual machine fork notifications
As discussed, here is the notifier for learning when a virtual machine
forks, as well as a first use case for it, which is unsurprisingly
WireGuard, since I happen to know that case rather well.
The first patch is a small cleanup discovered when working on the second
patch, which is adding the actual notifier. The third case then
trivially adds it to WireGuard.
Jason A. Donenfeld (3):
random: replace custom notifier chain with standard one
random: provide notifier for VM fork
wireguard: device: clear keys on VM fork
drivers/char/random.c | 82 ++++++++++++++--------------------
drivers/net/wireguard/device.c | 27 +++++------
include/linux/random.h | 16 +++----
lib/random32.c | 12 ++---
lib/vsprintf.c | 10 +++--
5 files changed, 69 insertions(+), 78 deletions(-)
--
2.35.1
Powered by blists - more mailing lists