No description
Find a file
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
benchmarks Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
bin Import NetBSD df(1) 2014-02-18 11:25:02 +01:00
commands system.conf: subsystem VID/DID matching support 2014-03-01 09:04:57 +01:00
common a bit more -Werror compatability 2013-08-20 11:37:40 +02:00
dist/nvi Termcap update, replacing elvis by nvi. 2013-01-24 07:44:38 +01:00
distrib UDS: split off from PFS 2014-03-01 09:04:57 +01:00
docs Allow install of binutils and import texinfo 2013-07-12 14:18:08 +02:00
drivers Extend dupfrom(2) into copyfd(2) 2014-03-01 09:04:58 +01:00
etc Extend dupfrom(2) into copyfd(2) 2014-03-01 09:04:58 +01:00
external Updating saved configure line in gcc 2014-03-01 09:04:57 +01:00
gnu Prevent make -C gnu from installing files in / 2013-09-17 15:19:50 +02:00
include Extend dupfrom(2) into copyfd(2) 2014-03-01 09:04:58 +01:00
kernel uname: normalize release and version 2014-03-01 09:04:55 +01:00
lib Extend dupfrom(2) into copyfd(2) 2014-03-01 09:04:58 +01:00
libexec Remove obsolete compatibility links 2014-03-01 09:04:56 +01:00
man system.conf: subsystem VID/DID matching support 2014-03-01 09:04:57 +01:00
releasetools usr.bin/man: Update 2014-03-01 09:04:56 +01:00
sbin Enable getmntinfo(3) 2014-02-18 11:25:02 +01:00
servers Extend dupfrom(2) into copyfd(2) 2014-03-01 09:04:58 +01:00
share Adapting build system to call MAKEDEV for /dev 2014-03-01 09:04:56 +01:00
sys UDS: align struct sockaddr_un with NetBSD 2014-03-01 09:04:57 +01:00
test Extend dupfrom(2) into copyfd(2) 2014-03-01 09:04:58 +01:00
tests Importing usr.bin/id 2013-11-12 10:15:47 -05:00
tools x86_hdimage.sh -i: crossbuild x86 release CD 2013-11-07 13:44:22 +00:00
usr.bin usr.bin/man: Update 2014-03-01 09:04:56 +01:00
usr.sbin Import NetBSD vndconfig(8) 2014-03-01 09:04:54 +01:00
.gitignore gitignore: ignore some more generated files 2012-12-06 13:29:20 +00:00
.gitreview misc:Add gerrit code review support. 2013-01-16 09:44:16 +01:00
build.sh Reverting back to default value of MKARZERO 2013-01-17 10:03:58 +01:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile Importing NetBSD "Kyua" test framework 2013-07-23 20:43:41 +02:00