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

Jesse Pollard (pollard@tomcat.admin.navo.hpc.mil)
Thu, 29 Jun 2000 07:58:56 -0500 (CDT)


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).

-------------------------------------------------------------------------
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/