minix/servers
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
..
devman Replacing timer_t by netbsd's timer_t 2014-03-01 09:04:54 +01:00
ds Input infrastructure, INPUT server, PCKBD driver 2014-03-01 09:04:55 +01:00
ext2 VM: readd support for forgetting cached FS blocks 2014-03-01 09:04:53 +01:00
hgfs Create SFFS library out of HGFS 2012-04-09 18:08:26 +02:00
inet Replacing timer_t by netbsd's timer_t 2014-03-01 09:04:54 +01:00
init init: handle getty string of "" (default) 2013-06-12 07:04:53 +00:00
input Input infrastructure, INPUT server, PCKBD driver 2014-03-01 09:04:55 +01:00
ipc moving prototypes to lib.h 2014-02-18 11:25:01 +01:00
is Rename SYSCTL kernel call to DIAGCTL 2014-03-01 09:04:54 +01:00
iso9660fs Input infrastructure, INPUT server, PCKBD driver 2014-03-01 09:04:55 +01:00
lwip Replacing timer_t by netbsd's timer_t 2014-03-01 09:04:54 +01:00
mfs VM: readd support for forgetting cached FS blocks 2014-03-01 09:04:53 +01:00
pfs UDS: split off from PFS 2014-03-01 09:04:57 +01:00
pm Extend dupfrom(2) into copyfd(2) 2014-03-01 09:04:58 +01:00
procfs Input infrastructure, INPUT server, PCKBD driver 2014-03-01 09:04:55 +01:00
rs UDS: split off from PFS 2014-03-01 09:04:57 +01:00
sched Replacing timer_t by netbsd's timer_t 2014-03-01 09:04:54 +01:00
vbfs Add VBFS: VirtualBox Shared Folder File System 2012-04-11 00:27:48 +02:00
vfs Extend dupfrom(2) into copyfd(2) 2014-03-01 09:04:58 +01:00
vm Input infrastructure, INPUT server, PCKBD driver 2014-03-01 09:04:55 +01:00
Makefile Input infrastructure, INPUT server, PCKBD driver 2014-03-01 09:04:55 +01:00
Makefile.inc Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00