Sync with Plan 9 2012-04-13. Reference: /n/patches.lsub.org/patch/plan9-20120413 Date: Fri Apr 13 21:45:19 CES 2012 Signed-off-by: 0intro@gmail.com --- /sys/man/8/listen Fri Apr 13 21:43:45 2012 +++ /sys/man/8/listen Fri Apr 13 21:43:46 2012 @@ -68,6 +68,21 @@ For example, an inbound call on the TCP network for port 565 executes service .BR tcp565 . +These programs are +.IR exec ed +with arguments consisting of +service +(e.g., +.LR tcp25 ), +protocol +(e.g., +.LR tcp ), +and the directory of this network connection, +with the network connection's +.B data +file bound to +.B /dev/cons +and opened read/write as file descriptors 0, 1 and 2. .PP At least the following services are available in .BR /bin/service . --- /sys/src/cmd/aux/listen.c Fri Apr 13 21:43:49 2012 +++ /sys/src/cmd/aux/listen.c Fri Apr 13 21:43:50 2012 @@ -518,10 +518,12 @@ if(!quiet){ if(dir != nil){ p = remoteaddr(dir); - syslog(0, listenlog, "%s call for %s on chan %s (%s)", proto, s->serv, dir, p); + syslog(0, listenlog, "%s call for %s on chan %s (%s)", + proto, s->serv, dir, p); free(p); } else - syslog(0, listenlog, "%s call for %s on chan %s", proto, s->serv, dir); + syslog(0, listenlog, "%s call for %s on chan %s", + proto, s->serv, dir); } snprint(data, sizeof data, "%s/data", dir); --- /rc/bin/cpurc Fri Apr 13 21:43:52 2012 +++ /rc/bin/cpurc Fri Apr 13 21:43:53 2012 @@ -41,7 +41,7 @@ # auth/keyfs -wp -m /mnt/keys /adm/keys >/dev/null >[2=1] # auth/cron >>/sys/log/cron >[2=1] & -sshtun +# sshtun # keep other bootes processes from creating capabilities rm -f '#ยค/caphash'