Hacker News new | ask | show | jobs
by justin66 4647 days ago
> Genuine question - can a process kill itself?

Sure. Send the signal, the signal handler - custom or default - handles it. This works whether the signal comes from another process or its own process.