fork of 9front i guess
Find a file
cinap_lenrek cbe11fc1c2 aux/listen: do not redirect stderr (fd 2) of the listener to the network connection
Charles Forsyth described the problem below in:

http://9fans.net/archive/2013/04/190

In a few cases, the kernel will use pprint to put a diagnostic on the
standard error (file descriptor 2). One of those is a warning that the
process has used more than 100 file descriptors. That message is possibly
obsolete and could be removed, but there are others, such as notifying an
uncaught trap that are probably helpful to make visible. In any case, as
things stand, a busy exportfs might have many file descriptors open,
provoking the diagnostic. Unfortunately, aux/listen and aux/listen1 connect
file descriptor 2 to the incoming network connection. If the connection's
protocol is not a simple, unstructured, textual one, diagnostics on the
standard error will cause confusion, in particular to devmnt.c if 9p is used.

/rc/bin/service files that start applications that run special protocols
might want to redirect file descriptor 2; alternatively, perhaps aux/listen
shouldn't redirect fd 2 by default: the few commands that do connect the remote
user to shells, or equivalent, including telnetd and sshd could dup 1 to 2
when that was sensible.
2013-04-20 21:42:20 +02:00
386 remove .dummy files and replace it by sys/lib/rootstub script 2011-05-03 04:42:16 +00:00
68000 remove .dummy files and replace it by sys/lib/rootstub script 2011-05-03 04:42:16 +00:00
68020 remove .dummy files and replace it by sys/lib/rootstub script 2011-05-03 04:42:16 +00:00
acme fix permission for /acme/mkfile 2011-06-07 23:32:57 +00:00
adm/timezone add Uruguay timezone (from sources) 2013-01-25 14:13:01 +01:00
alpha remove .dummy files and replace it by sys/lib/rootstub script 2011-05-03 04:42:16 +00:00
amd64 6c: extern register fix (import from patch/6c-extreg) 2012-09-18 18:18:43 +02:00
arm remove .dummy files and replace it by sys/lib/rootstub script 2011-05-03 04:42:16 +00:00
lib fortunes: Now reboot twice[1]. 2013-03-24 19:49:02 -04:00
mips remove .dummy files and replace it by sys/lib/rootstub script 2011-05-03 04:42:16 +00:00
power remove .dummy files and replace it by sys/lib/rootstub script 2011-05-03 04:42:16 +00:00
power64 remove .dummy files and replace it by sys/lib/rootstub script 2011-05-03 04:42:16 +00:00
rc inst/mountcwfs, inst/mounthjfs: fix typos 2013-03-12 17:55:00 -04:00
sparc remove .dummy files and replace it by sys/lib/rootstub script 2011-05-03 04:42:16 +00:00
sparc64 remove .dummy files and replace it by sys/lib/rootstub script 2011-05-03 04:42:16 +00:00
sys aux/listen: do not redirect stderr (fd 2) of the listener to the network connection 2013-04-20 21:42:20 +02:00
.hgignore hgignore: ignore /proc 2013-01-29 02:54:38 +01:00