minix/drivers
David van Moolenbroek e5cc85fdc4 Extend dupfrom(2) into copyfd(2)
This single function allows copying file descriptors from and to
processes, and closing a previously copied remote file descriptor.
This function replaces the five FD-related UDS backcalls. While it
limits the total number of in-flight file descriptors to OPEN_MAX,
this change greatly improves crash recovery support of UDS, since all
in-flight file descriptors will be closed instead of keeping them
open indefinitely (causing VFS to crash on system shutdown). With the
new copyfd call, UDS becomes simpler, and the concept of filps is no
longer exposed outside of VFS.

This patch also moves the checkperms(2) stub into libminlib, thus
fully abstracting away message details of VFS communication from UDS.

Change-Id: Idd32ad390a566143c8ef66955e5ae2c221cff966
2014-03-01 09:04:58 +01:00
..
acpi Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
ahci Replacing timer_t by netbsd's timer_t 2014-03-01 09:04:54 +01:00
amddev ARM updates 2013-01-17 10:03:58 +01:00
at_wini at_wini: PCI-only now; one controller per instance 2014-03-01 09:04:57 +01:00
atl2 system.conf: subsystem VID/DID matching support 2014-03-01 09:04:57 +01:00
audio libaudiodriver: use libchardriver 2014-03-01 09:04:51 +01:00
bmp085 libchardriver: full API rewrite 2014-03-01 09:04:50 +01:00
cat24c256 Block drivers: make IOCTL request unsigned long 2014-02-19 11:22:15 +01:00
dec21140A system.conf: subsystem VID/DID matching support 2014-03-01 09:04:57 +01:00
dp8390 dp8390: resolve Coverity warnings (encore) 2012-08-14 09:11:18 +00:00
dpeth panic: declare as printf-style-checked 2013-05-31 13:35:25 +00:00
e1000 system.conf: subsystem VID/DID matching support 2014-03-01 09:04:57 +01:00
fb libchardriver: full API rewrite 2014-03-01 09:04:50 +01:00
fbd Block drivers: make IOCTL request unsigned long 2014-02-19 11:22:15 +01:00
filter filter: use libblockdriver 2014-03-01 09:04:53 +01:00
floppy Replacing timer_t by netbsd's timer_t 2014-03-01 09:04:54 +01:00
fxp system.conf: subsystem VID/DID matching support 2014-03-01 09:04:57 +01:00
gpio arm:fix GPIO revision check on DM37XX. 2014-01-20 09:33:16 +01:00
hello libchardriver: full API rewrite 2014-03-01 09:04:50 +01:00
i2c libchardriver: full API rewrite 2014-03-01 09:04:50 +01:00
lan8710a arm:replace ifdef's by runtime checks in the lan8710a driver. 2014-02-12 13:47:46 +01:00
lance system.conf: subsystem VID/DID matching support 2014-03-01 09:04:57 +01:00
log Kernel: make SIGKMESS target process list dynamic 2014-03-01 09:04:54 +01:00
memory libchardriver: full API rewrite 2014-03-01 09:04:50 +01:00
mmc Block drivers: make IOCTL request unsigned long 2014-02-19 11:22:15 +01:00
orinoco Replacing timer_t by netbsd's timer_t 2014-03-01 09:04:54 +01:00
pci system.conf: subsystem VID/DID matching support 2014-03-01 09:04:57 +01:00
pckbd Input infrastructure, INPUT server, PCKBD driver 2014-03-01 09:04:55 +01:00
printer Rewrite character driver protocol 2014-03-01 09:04:52 +01:00
ramdisk at_wini: PCI-only now; one controller per instance 2014-03-01 09:04:57 +01:00
random libchardriver: full API rewrite 2014-03-01 09:04:50 +01:00
readclock moving prototypes to lib.h 2014-02-18 11:25:01 +01:00
rtl8139 system.conf: subsystem VID/DID matching support 2014-03-01 09:04:57 +01:00
rtl8169 system.conf: subsystem VID/DID matching support 2014-03-01 09:04:57 +01:00
sht21 libchardriver: full API rewrite 2014-03-01 09:04:50 +01:00
tda19988 Block drivers: make IOCTL request unsigned long 2014-02-19 11:22:15 +01:00
ti1225 ARM updates 2013-01-17 10:03:58 +01:00
tps65217 Retire the synchronous character driver protocol 2014-02-18 11:25:02 +01:00
tps65950 libi2cdriver: add functions for IC register access 2013-09-18 08:10:26 -04:00
tsl2550 libchardriver: full API rewrite 2014-03-01 09:04:50 +01:00
tty keymaps: improve keypad slash support 2014-03-01 09:04:56 +01:00
uds Extend dupfrom(2) into copyfd(2) 2014-03-01 09:04:58 +01:00
vbox Some more 64bit function eradication. 2013-08-07 12:35:53 +00:00
virtio_blk Block drivers: make IOCTL request unsigned long 2014-02-19 11:22:15 +01:00
virtio_net system.conf: subsystem VID/DID matching support 2014-03-01 09:04:57 +01:00
vnd Extend dupfrom(2) into copyfd(2) 2014-03-01 09:04:58 +01:00
Makefile UDS: split off from PFS 2014-03-01 09:04:57 +01:00
Makefile.inc Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00