Go to file
pooka b4ff8b5f63 In case dup2(n, n+FDOFF) is done, the caller thinks there are two
distinct file descriptors, but the rump kernel thinks they are both
the same.  Now, if either one is closed by the application, "both"
will be closed in the rump kernel.  To fix this, maintain an
alias-mask.  It's not a perfect solution, though (consider e.g.
F_SETFL).  Maybe we should actually dup the fd and maintain a
mapping table?

Also, prevent the host from opening file descriptors onto the places
in the fd namespace that have been dupped.

These together fix "cat < /rump/foo" in a hijacked /bin/sh.
(the first one makes sure stdin is open in cat and the second one
makes sure it doesn't try to cat something from /usr/share/locale
instead of stdin)
2011-02-17 15:20:10 +00:00
bin Tell copyfd if the caller wants the exact tofd to just fd >= tofd. 2011-02-17 15:13:49 +00:00
common prop_dictionary_internalize_from_file_returns_a_dictionary_not_an_array 2011-02-02 16:37:27 +00:00
compat if using MAKEOBJDIRPREFIX, make sure to unset it since it would override 2011-01-31 10:58:14 +00:00
crypto Property name change: 2011-02-16 02:14:22 +00:00
dist - Fix man pages list for MKNPF=no case. Based on a patch from Scott Ellis. 2011-02-10 14:04:29 +00:00
distrib RCSMETALOG: symbolically tag the latest and previous versions. 2011-02-17 08:41:35 +00:00
doc Add a skeleton driver for Asus EeePC acpiwmi(4) mappings. 2011-02-16 07:30:26 +00:00
etc Install "obsolete" files only when necessary. 2011-02-16 16:22:13 +00:00
external Retire src/external/intel-public. 2011-02-17 07:56:37 +00:00
extsrc
games Bug fix: in a game with 26 planes, the last one to be allocated wouldn't 2011-02-15 08:25:25 +00:00
gnu Tell the groff and friends about libsaslc(3). 2011-02-11 23:47:49 +00:00
include handle ssp 2011-02-16 19:29:35 +00:00
lib In case dup2(n, n+FDOFF) is done, the caller thinks there are two 2011-02-17 15:20:10 +00:00
libexec Fix problem with bss-plt objects which a reloc index, not offset. 2011-02-10 02:28:20 +00:00
regress The getqaddrinfo test has been atf-ified 2011-01-11 16:34:27 +00:00
rescue Adjust for the new chown location. 2011-01-14 00:59:14 +00:00
sbin Add -b and -vxz to usage. 2011-02-16 19:33:48 +00:00
share Miscellaneous improvements from Garrett Cooper: 2011-02-16 10:13:00 +00:00
sys Add PCI support for BCM1125/1250. 2011-02-17 14:24:12 +00:00
tests RUMPHIJACK_RETRY -> RUMPHIJACK_RETRYCONNECT 2011-02-16 19:31:31 +00:00
tools Add LLVM and clang build system. It is enabled by MKLLVM=yes. 2011-02-06 01:13:42 +00:00
usr.bin Add verbose mode for readlink. 2011-02-16 23:08:29 +00:00
usr.sbin Provide a definition for the size of the RSDP in ACPI 1.0. 2011-02-17 15:06:34 +00:00
x11 Disable USE_PAM on ports which have legacy non-XFree86 servers. 2010-10-10 07:03:28 +00:00
build.sh Add support for the Extensible MIPS ("eMIPS") platform. The 2011-01-26 01:18:43 +00:00
BUILDING Pass down INSTALLSETS variable to installsets target. Use :Q to escape 2011-01-29 16:56:26 +00:00
Makefile Pass down INSTALLSETS variable to installsets target. Use :Q to escape 2011-01-29 16:56:26 +00:00
Makefile.inc
UPDATING fix typo in "-traditional-cpp" 2011-01-23 23:40:37 +00:00