um: Set parent death signal for userspace process
authorBenjamin Berg <benjamin.berg@intel.com>
Thu, 19 Sep 2024 12:45:04 +0000 (14:45 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 10 Oct 2024 11:37:21 +0000 (13:37 +0200)
commit801e00d3a1b78b7f71675fae79946ff4aa3ee070
tree20db4c401de61944da93f95b9b899ed4d764bdb6
parent32e8eaf263d9be014ba1970444f745682fa9c6c0
um: Set parent death signal for userspace process

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@intel.com>
Link: https://patch.msgid.link/20240919124511.282088-4-benjamin@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/kernel/skas/stub_exe.c