Hi,

On Tue, Mar 6, 2012 at 7:46 PM, Josh Triplett <j...@joshtriplett.org> wrote:
> To give one particular example: systemd uses Linux-specific features to
> accurately track all the processes started by a service, which allows
> accurate monitoring and shutdown of processes which could otherwise
> disassociate themselves from their parent processes via the usual
> daemonizing trick.  POSIX doesn't provide features that allow this in
> general, but Linux does.  (Quite possibly other OSes provide those
> features too, but not in a standardized way.)

By the way, upstart uses ptrace for this:

http://netsplit.com/2007/12/07/how-to-and-why-supervise-forking-processes/

It's an interesting trick, and probably more portable too.

Regards,


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/canvyna-nyq9y1ayxdpbsnwwwa15o3y1rcov++_zh6wct9gf...@mail.gmail.com

Reply via email to