Toward race-free process signaling
Toward race-free process signaling
Posted Dec 11, 2018 8:21 UTC (Tue) by epa (subscriber, #39769)In reply to: Toward race-free process signaling by james
Parent article: Toward race-free process signaling
Well, OK, maybe not. I don't think the problem gets any worse than if the process id is limited to 15 bits, in which case exactly the same id could end up belonging to a different process.
Currently kill(1) can take a pid or a process name. It should let you redundantly specify both, and (without any race condition) check that they match before sending the signal.