Re: Re: closefd: closes a file of any process

From: volodya@mindspring.com
Date: Wed Jul 12 2000 - 07:22:27 EST


On Thu, 29 Jun 2000, Jesse Pollard wrote:

> volodya@mindspring.com:
> >What about a way to tell kernel to disable clone() for all non-root
> >processes ?
> >
> >So your fuser -k does this:
> >
> > 1. disable clone
> > 2. kill
> > 3. wait for kill to complete
> > 4. reenable clone
>
> Couldn't that permit a deadlock? A process to be killed could be waiting
> for a response from a server daemon (on the same host) which can't
> respond because the server couldn't clone the slave server?? The daemon,
> of course, is not running as root (web servers... and some applications
> do this too).

Well, it could also be that the server segfaulted.. The clients should
be built sufficiently robust to withstand such situations.

                     Vladimir Dergachev

>
> -------------------------------------------------------------------------
> Jesse I Pollard, II
> Email: pollard@navo.hpc.mil
>
> Any opinions expressed are solely my own.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:14 EST