aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/sys
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-04-05 23:51:39 +0900
committerOphestra <cat@gensokyo.uk>2025-04-07 03:55:17 +0900
commite9a7cd526f4e5f0a8f7b18ad3682d2e3afbcb8ba (patch)
tree5b5ac59efa97d2d57d38c094dada9aff22bee72c /internal/sys
parent12be7bc78e093ef609c9b2a491239cc59721fec6 (diff)
app: improve shim process management
This ensures a signal gets delivered to the process instead of relying on parent death behaviour. SIGCONT was chosen as it is the only signal an unprivileged process is allowed to send to processes with different credentials. A custom signal handler is installed because the Go runtime does not expose signal information other than which signal was received, and shim must check pid to ensure reasonable behaviour. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/sys')
0 files changed, 0 insertions, 0 deletions