random: wire up in-kernel virtual machine fork notifications
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | random: replace custom notifier chain with standard onedrivers/ include/ lib/ +1 more | +35 | 3 replies | |
| 2/3 | random: provide notifier for VM forkdrivers/ include/ | +20 | 2 replies | |
| 3/3 | wireguard: device: clear keys on VM forkdrivers/ | +14 | 5 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Jakub Kicinski | Dominik Brodowski | Greg Kroah-Hartman |
|---|---|---|---|
| 1/3 | R-b | ||
| 2/3 | R-b | ||
| 3/3 | A-b A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [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(-)
Signature · 1 line
2.35.1