Why Nostr? What is Njump?
2025-03-26 12:47:20
in reply to

opal on Nostr: Red Rozenglass Cocoa Hoto in real life the correct supervisor process is guaranteed ...

the correct supervisor process is guaranteed to listen to the fifo (in addition, you can also kill it directly to signal what to do with its child, but this is tangential to your question and more of a curiosity) and the guarantees are solidified by the filesystem and unix permissions. PIDs are reused by the kernel, so race conditions can happen where pid 1235 refers not to your service but to a completely unrelated process. and if the supervisor runs as root, this means it's playing roulette to kill whatever unlucky process it wants on your system
Author Public Key
npub1acv0qqdqlqatc738vs00zheq9hrf9gu69mn8ezrsf8tte695636sfdlyun