Re:Kill Me Softly – Kill processes in a reliable manner
by feld on Wednesday December 17, 2014 @10:42AM
(#8762625)
Linux has this capability in recent kernel versions (3.x?). I don't know what the implementation is called (prctl?), but DragonflyBSD add this in procctl(2) in release 4.0. FreeBSD already had a procctl(2) and added the same functionality to be compatible.
http://lists.dragonflybsd.org/pipermail/commits/2014-Novembe...
So now FreeBSD and DragonflyBSD have plans to utilize this exactly like Illumos and build lightweight process supervision without the need for something as disruptive as systemd.
Solving this problem requires kernel support because the kernel is generally the only fault domain in the system that cannot crash while the system is still running.
Edit: forgot the link the first time. [0] http://illumos.org/man/4/process