NetBSD/lib/librumphijack
kre 1ec349e914 Object to dup2() if target fd is in the range of fd's that
librumphijack reserves for rump to use.

This is not normally a problem, as most applications don't attempt
to use very high fds - but /bin/sh does.

This fix is something of a kludge - really the apparent fd resource limit
ought to be lowered as well, but this is sufficient to allow the shell
to work (when its dup2() gets rejected, it just tries again with a smaller
target fd until it eventually succeeds.)   This fixes the librumphijack
shell ATF tests.

A better, more comprehensive, fix would be good...
2016-08-11 09:48:57 +00:00
..
Makefile Define _KERNTYPES for things that need it. 2016-01-23 21:22:45 +00:00
hijack.c Object to dup2() if target fd is in the range of fd's that 2016-08-11 09:48:57 +00:00
hijack.h
hijackdlsym.c use <rump/rumpuser_port.h> 2013-09-10 16:53:06 +00:00
rumphijack.3
shlib_version