Post #1539640
2025-11-17 14:34 UTC
@wolf480pl Processes of the same user should be able to send signals to it yes. I actually consider that a feature. Currently, managing a subprocess invoked with run0 or sudo is a pain because you can't stop it except by messing with input pipes or TTYs passed through to the subprocess.
Replies (1)
-
@wolf480pl@mstdn.io 2025-11-17 14:45
@daandemeyer Yeah I felt the pain of a sudo-ed process not wanting to die too. But then I wonder - were those protections there for a reason? I've never used run0 and from a quick look at the manpage it's unclear to me whether it's all-or-nothing, or if it can be limited to only specific commands like sudo. But if the latter, then I'd be worried that the user will be able to mess with that process using SIGSTOP, those two SIGRTs that glibc uses for its internal purposes, etc