On Wed, 18 Oct 2000, Alessandro Rubini wrote:
> + /* init_module has stdin/stdout/stderr open: close them (ARub) */
> + for (i=255; i>=0; i--)
> + if (current->files->fd[i])
> + close(i);
>
shouldn't this be exit_files() ?
see md.c for an example usage ...
thanks
john
--
"Mathemeticians stand on each other's shoulders while computer scientists
stand on each other's toes."
- Richard Hamming
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/
- [patch] khttpd doesn't detach from the files of its pare... Alessandro Rubini
- Re: [patch] khttpd doesn't detach from the files of... John Levon
- Re: [patch] khttpd doesn't detach from the file... Alessandro Rubini
- Re: [patch] khttpd doesn't detach from the ... Alexander Viro
- Re: [patch] khttpd doesn't detach from ... Alessandro Rubini
- Re: [patch] khttpd doesn't detach from ... Jeff Garzik
- Re: [patch] khttpd doesn't detach ... Alexander Viro
- Re: [patch] khttpd doesn't detach from the files of... Alexander Viro
- Re: [patch] khttpd doesn't detach from the file... Alessandro Rubini
- Re: [patch] khttpd doesn't detach from the ... Alexander Viro

