OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Solar Designer (solaropenwall.com)
Date: Tue May 28 2002 - 07:04:21 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    On Tue, May 28, 2002 at 12:19:20AM +0100, Antonomasia wrote:
    > What use is a PID when you don't know how long it will last ?
    >
    > Usually when I want a PID I'm either fork()ing or I plan to signal
    > something (perhaps read from ps). A reservation to prevent a PID
    > being reassigned could help.
    > obtain PID of interest
    > reserve that PID
    > check it is still what we wanted
    > send signal
    > delete reservation

    This has been discussed in here before. Yes, it should be done. No,
    if done properly, this doesn't introduce DoS possibilities.

    http://marc.theaimsgroup.com/?s=lockpid&q=t

    There has been another thread, where PR_LOCKPID was proposed as a better
    interface (I agreed). Unfortunately, MARC wouldn't search message bodies
    at the moment so I can't find it.

    -- 
    /sd