Re: anyone ever implemented a reparent(pid) syscall?

From: Werner Almesberger (wa@almesberger.net)
Date: Mon May 12 2003 - 02:33:43 EST


Chris Friesen wrote:
> Sure. So the monitorer starts up, attempts to watch a pid, gets an error
> saying that it doesn't exist, and handles it.

You'd still have a PID reuse race. Of course, you could also
cover this by checking the process' start time ...

But just designing the parent to be simple enough to be reliable
and/or generic enough that it doesn't even need to be upgraded
still looks like a more promising approach to me.

- Werner

-- 
  _________________________________________________________________________
 / Werner Almesberger, Buenos Aires, Argentina         wa@almesberger.net /
/_http://www.almesberger.net/____________________________________________/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 15 2003 - 22:00:38 EST