Messages in this thread | | | From | "Stephen C. Tweedie" <> | Date | Tue, 8 Jun 1999 10:57:23 +0100 (BST) | Subject | Re: RFC: Devices, buses and hotplug |
| |
Hi,
Ingo Oeser writes:
> The thing is, that a fd is valid from sucessful open to > sucessful close. So everything this fd depends on, is open too. > > But we could introduce a new signal (bad, since not POSIX), or > use a new semantic for an existing one (even worse) to say "Hey, > this fd is dead now! Any use from now on will cause errors."
We already have support for making the inode on a fd into a permanently bad inode which returns EIO on every access: see make_bad_inode(). vhangup also already deals with this sort of thing for tty devices already.
--Stephen
- 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/
| |