Re: [RFC PATCH 7/9] um: Track userspace children dying in SECCOMP mode

2024-10-10 Thread Johannes Berg
On Wed, 2024-09-25 at 22:32 +0200, Benjamin Berg wrote: > > Fix this issue using a new IRQ that is fired after a SIGCHLD and keeping > an (internal) list of all MMs. Maybe that would be nicer with an xarray indexed by pid? The list could get quite long I suppose? johannes

[RFC PATCH 7/9] um: Track userspace children dying in SECCOMP mode

2024-09-25 Thread Benjamin Berg
When in seccomp mode, we would hang forever on the futex if a child has died unexpectedly. In contrast, ptrace mode will notice it and kill the corresponding thread when it fails to run it. Fix this issue using a new IRQ that is fired after a SIGCHLD and keeping an (internal) list of all MMs. In t