Re: closefd: closes a file of any process

©[@ÄØÿ¿8þÿ¿Jeff Garzik (uaca@alumni.uv.es)
Wed, 28 Jun 2000 18:44:37 +0200


Hi

On Wed, Jun 28, 2000 at 05:49:16PM +0200, almesber@lrc.di.epfl.ch wrote:
[...]
> What your approach doesn't seem to solve is the much nastier problem of
> hanging somewhere in the kernel in an uninterruptible sleep on something
> underneath a file descriptor. Obviously, trying to close it can't work in
> this case either.

I hope what you say here doesn't apply with to my module that just emulates
sys_close() for the non-current process

My reasoning is: module load works just like any other syscall, so why
should be different than a system call? (here I just refer to process sleep)

By the way the module I made it's just for learning purposes

Please CC: your reply to uaca@alumni.uv.es

Thanks!

Ulisses

PD: http://pusa.uv.es/~ulisses/closefd.tar.gz

Debian/GNU Linux: a dream come true
-----------------------------------------------------------------------------
"Computers are useless. They can only give answers." Pablo Picasso

---> Visita http://www.valux.org/ para saber acerca de la <---
---> Asociación Valenciana de Usuarios de Linux <---

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