minix/lib
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
..
csu Removing CSU patches 2014-02-18 11:25:02 +01:00
libasyn No more intel/minix segments. 2012-07-15 22:30:15 +02:00
libaudiodriver libaudiodriver: use libchardriver 2014-03-01 09:04:51 +01:00
libbdev Block protocol: add user endpoint to IOCTL request 2014-02-19 11:22:15 +01:00
libblockdriver Block drivers: make IOCTL request unsigned long 2014-02-19 11:22:15 +01:00
libbz2 Upgrading bzip2 2012-11-21 18:32:06 +01:00
libc Retire EBADIOCTL in favor of ENOTTY 2014-03-01 09:04:51 +01:00
libchardriver Remove support for reopening character devices 2014-03-01 09:04:52 +01:00
libclkconf arm:replace ifdef's by runtime checks. 2013-12-03 09:19:25 +01:00
libcompat_minix <a.out.h>, MINIX style: remove as obsolete 2013-08-06 11:43:35 +02:00
libcrypt Updating lib/libcrypt 2013-01-14 11:36:27 +01:00
libcurses Fix out of array bounds errors with -O3 2013-10-08 11:43:31 +02:00
libddekit Retire the synchronous character driver protocol 2014-02-18 11:25:02 +01:00
libdevman panic: declare as printf-style-checked 2013-05-31 13:35:25 +00:00
libedit fix a few more minix specific warnings 2013-08-27 16:16:03 +00:00
libelf libelf:use self hosted m4. 2013-04-24 17:22:59 +02:00
libexec Removing CSU patches 2014-02-18 11:25:02 +01:00
libfetch Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
libform Importing lib/libform 2013-11-12 07:56:07 -05:00
libgpio arm:fix GPIO revision check on DM37XX. 2014-01-20 09:33:16 +01:00
libhgfs Replaced add64, add64u and add64ul with operators. 2013-11-13 13:11:33 +00:00
libi2cdriver I2C: change BUSC_I2C_xxx to use own protocol 2014-02-18 11:25:03 +01:00
liblwip fix a few more minix specific warnings 2013-08-27 16:16:03 +00:00
libm libm Makefile: typo (from NetBSD) 2013-08-05 23:57:26 +02:00
libmenu Importing lib/libmenu 2013-11-12 07:39:59 -05:00
libminc Removing CSU patches 2014-02-18 11:25:02 +01:00
libminixfs 32 to 64 bits fsblkcnt_t and fsfilcnt_t. 2014-02-18 11:25:01 +01:00
libminlib struct uucred 2014-02-18 11:25:01 +01:00
libmthread libmthread: do not dump stack for free threads 2014-02-18 11:25:03 +01:00
libnetdriver libnetdriver: only block datalink messages 2013-08-18 12:09:51 +02:00
libnetsock libnetsock: use libchardriver 2014-03-01 09:04:51 +01:00
libprop a bit more -Werror compatability 2013-08-20 11:37:40 +02:00
libpuffs Fix various file system warnings 2014-02-18 11:25:02 +01:00
librefuse Let the build system manage compilation flags 2013-03-08 09:41:49 +01:00
librmt Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
libsffs VFS/FS: replace protocol version with flag field 2014-02-18 11:25:02 +01:00
libsys Retire the synchronous character driver protocol 2014-02-18 11:25:02 +01:00
libterminfo Re-adding extended keys in minix termcap entry 2013-01-23 21:28:17 +01:00
libtimers Replace NULL macro defs with null.h include 2010-07-22 10:03:31 +00:00
libusb panic: declare as printf-style-checked 2013-05-31 13:35:25 +00:00
libutil libutil: let opendisk(3) try /dev 2014-02-19 11:22:19 +01:00
libvassert No more intel/minix segments. 2012-07-15 22:30:15 +02:00
libvboxfs Replaced add64, add64u and add64ul with operators. 2013-11-13 13:11:33 +00:00
libvirtio Alignement on netbsd types, part 1 2014-02-18 11:25:01 +01:00
libvtreefs VFS/FS: replace protocol version with flag field 2014-02-18 11:25:02 +01:00
libz Downgrading to netbsd zlib version 2013-04-09 16:43:13 +02:00
lua Importing NetBSD "Kyua" test framework 2013-07-23 20:43:41 +02:00
Makefile Importing lib/libform 2013-11-12 07:56:07 -05:00
Makefile.inc Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00