minix/servers
David van Moolenbroek 87337273e4 Remove support for reopening character devices
Previously, VFS would reopen a character device after a driver crash
if the associated file descriptor was opened with the O_REOPEN flag.
This patch removes support for this feature. The code was complex,
full of uncovered corner cases, and hard to test. Moreover, it did not
actually hide the crash from user applications: they would get an
error code to indicate that something went wrong, and have to decide
based on the nature of the underlying device how to continue.

- remove support for O_REOPEN, and make playwave(1) reopen its device;
- remove support for the DEV_REOPEN protocol message;
- remove all code in VFS related to reopening character devices;
- no longer change VFS filp reference count and FD bitmap upon filp
  invalidation; instead, make get_filp* fail all calls on invalidated
  FDs except when obtained with the locktype VNODE_OPCL which is used
  by close_fd only;
- remove the VFS fproc file descriptor bitmap entirely, returning to
  the situation that a FD is in use if its slot points to a filp; use
  FILP_CLOSED as single means of marking a filp as invalidated.

Change-Id: I34f6bc69a036b3a8fc667c1f80435ff3af56558f
2014-03-01 09:04:52 +01:00
..
devman Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
ds Cleanup: Remove minix.bootprog.mk 2013-03-06 11:56:56 +01:00
ext2 Block protocol: use own [RW]_BIT definitions 2014-02-19 11:22:15 +01:00
hgfs Create SFFS library out of HGFS 2012-04-09 18:08:26 +02:00
inet INET: use libchardriver 2014-03-01 09:04:51 +01:00
init init: handle getty string of "" (default) 2013-06-12 07:04:53 +00:00
ipc moving prototypes to lib.h 2014-02-18 11:25:01 +01:00
is Retire the synchronous character driver protocol 2014-02-18 11:25:02 +01:00
iso9660fs Block protocol: use own [RW]_BIT definitions 2014-02-19 11:22:15 +01:00
lwip libnetsock: use libchardriver 2014-03-01 09:04:51 +01:00
mfs Block protocol: use own [RW]_BIT definitions 2014-02-19 11:22:15 +01:00
pfs Make PFS backcalls regular VFS calls 2014-03-01 09:04:52 +01:00
pm Make PFS backcalls regular VFS calls 2014-03-01 09:04:52 +01:00
procfs VFS: remove FP_BLOCKED_ON_DOPEN 2014-02-18 11:25:03 +01:00
rs Retire the synchronous character driver protocol 2014-02-18 11:25:02 +01:00
sched kernel: spelling fixes 2013-10-09 20:24:17 -04:00
vbfs Add VBFS: VirtualBox Shared Folder File System 2012-04-11 00:27:48 +02:00
vfs Remove support for reopening character devices 2014-03-01 09:04:52 +01:00
vm Removing CSU patches 2014-02-18 11:25:02 +01:00
Makefile lwip (inet's alternative) is compiled by default 2013-03-25 16:51:25 +01:00
Makefile.inc Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00