On Sat, May 26, 2007 at 11:28:47AM +0200, Andrew Beekhof wrote: > >Hmm, then I fear I'm misunderstanding the patch. I see it comparing > >/proc/<pid>/exe to /proc/getpid()/exe to see if they are the same. > > > >How is that different from comparing pid to getpid()? > > its comparing the name of the processes belong to the pids
Hmm, according to <http://en.wikipedia.org/wiki/Procfs#Linux> this actually compares the names of the original executable files. But, still, that is a better test than comparing PIDs; thanks for the pointer to the technique... -- Brian Reichert <[EMAIL PROTECTED]> 55 Crystal Ave. #286 Daytime number: (603) 434-6842 Derry NH 03038-1725 USA BSD admin/developer at large _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
