minix/servers
David van Moolenbroek 3835235193 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
2013-09-28 00:10:56 +02: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 2013-09-28 00:10:52 +02:00
hgfs Create SFFS library out of HGFS 2012-04-09 18:08:26 +02:00
inet INET: use libchardriver 2013-09-28 00:10:54 +02:00
init init: handle getty string of "" (default) 2013-06-12 07:04:53 +00:00
ipc moving prototypes to lib.h 2013-09-28 00:03:43 +02:00
is Retire the synchronous character driver protocol 2013-09-28 00:10:48 +02:00
iso9660fs Block protocol: use own [RW]_BIT definitions 2013-09-28 00:10:52 +02:00
lwip libnetsock: use libchardriver 2013-09-28 00:10:55 +02:00
mfs Block protocol: use own [RW]_BIT definitions 2013-09-28 00:10:52 +02:00
pfs Make PFS backcalls regular VFS calls 2013-09-28 00:10:56 +02:00
pm Make PFS backcalls regular VFS calls 2013-09-28 00:10:56 +02:00
procfs VFS: remove FP_BLOCKED_ON_DOPEN 2013-09-28 00:10:48 +02:00
rs Retire the synchronous character driver protocol 2013-09-28 00:10:48 +02:00
sched Cleanup: Remove minix.bootprog.mk 2013-03-06 11:56:56 +01:00
vbfs Add VBFS: VirtualBox Shared Folder File System 2012-04-11 00:27:48 +02:00
vfs Remove support for reopening character devices 2013-09-28 00:10:56 +02:00
vm Removing CSU patches 2013-09-28 00:10:47 +02: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