[Devel] [PATCH hci-8.1 v2 2/2] ms/um: Set parent death signal for userspace process

no-reply at sashiko.virtuozzo.com no-reply at sashiko.virtuozzo.com
Thu Oct 29 20:08:51 MSK 2026


> From: Benjamin Berg <benjamin.berg at intel.com>
> 
> Enable PR_SET_PDEATHSIG so that the UML userspace process will be killed
> when the kernel exits unexpectedly.
> 
> Signed-off-by: Benjamin Berg <benjamin.berg at intel.com>
> Link: https://patch.msgid.link/20240919124511.282088-4-benjamin@sipsolutions.net
> Signed-off-by: Johannes Berg <johannes.berg at intel.com>
> (cherry picked from commit 801e00d3a1b78b7f71675fae79946ff4aa3ee070)
> 
> Rebase note: the userspace process is set up differenly before commit
> 32e8eaf263d9 ("um: use execveat to create userspace MMs"), whith this
> tree lacks, so set parent death signal up in userspace_tramp() rather
> than in the stub executable.
> 
> https://virtuozzo.atlassian.net/browse/VSTOR-143633
> Feature: fix ms/um
> 
> Signed-off-by: Eva Kurchatova <eva.kurchatova at virtuozzo.com>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261029170613.1649335-1-eva.kurchatova@virtuozzo.com?part=2




More information about the Devel mailing list