Browse Source

Plan 9 from Bell Labs 2005-09-23

David du Colombier 14 years ago
parent
commit
800fc3a730

+ 106 - 150
dist/replica/_plan9.db

@@ -14,29 +14,29 @@
 386/9pxeload - 775 sys sys 1112757508 215872
 386/_9pcdisk.gz - 664 sys sys 1039764191 695837
 386/bin - 20000000775 sys sys 1018897690 0
-386/bin/8a - 775 sys sys 1125345938 115087
+386/bin/8a - 775 sys sys 1127360556 115969
 386/bin/8c - 775 sys sys 1125345939 358173
 386/bin/8l - 775 sys sys 1125345940 115694
 386/bin/9660srv - 775 sys sys 1115950023 104037
 386/bin/aan - 775 sys sys 1115950023 130710
-386/bin/acid - 775 sys sys 1125345941 390031
+386/bin/acid - 775 sys sys 1127360557 390191
 386/bin/acme - 775 sys sys 1125345943 428545
 386/bin/ape - 20000000775 sys sys 1016944144 0
-386/bin/ape/basename - 775 sys sys 1087442501 132681
+386/bin/ape/basename - 775 sys sys 1127360557 132862
 386/bin/ape/cc - 775 sys sys 1115950025 70297
-386/bin/ape/diff - 775 sys sys 1122299107 349579
-386/bin/ape/diff3 - 775 sys sys 1122299110 188063
-386/bin/ape/dirname - 775 sys sys 1087442502 132460
-386/bin/ape/expr - 775 sys sys 1087442502 142097
-386/bin/ape/kill - 775 sys sys 1087442503 138039
-386/bin/ape/make - 775 sys sys 1094040081 208922
-386/bin/ape/patch - 775 sys sys 1116815420 302362
+386/bin/ape/diff - 775 sys sys 1127360558 349757
+386/bin/ape/diff3 - 775 sys sys 1127360559 188245
+386/bin/ape/dirname - 775 sys sys 1127360559 132641
+386/bin/ape/expr - 775 sys sys 1127360559 142283
+386/bin/ape/kill - 775 sys sys 1127360560 138212
+386/bin/ape/make - 775 sys sys 1127360561 209104
+386/bin/ape/patch - 775 sys sys 1127360561 302548
 386/bin/ape/psh - 775 sys sys 1042220689 34
-386/bin/ape/sed - 775 sys sys 1087442504 158112
-386/bin/ape/sh - 775 sys sys 1094040083 477044
+386/bin/ape/sed - 775 sys sys 1127360562 158314
+386/bin/ape/sh - 775 sys sys 1127360563 477226
 386/bin/ape/stty - 775 sys sys 1115950026 41039
 386/bin/ape/tar - 775 sys sys 1115950026 61903
-386/bin/ape/uname - 775 sys sys 1087442505 132510
+386/bin/ape/uname - 775 sys sys 1127360563 132691
 386/bin/aquarela - 775 sys sys 1064598027 319170
 386/bin/ar - 775 sys sys 1125345943 110838
 386/bin/archfs - 775 sys sys 1125345943 140883
@@ -44,7 +44,7 @@
 386/bin/astro - 775 sys sys 1119496641 138819
 386/bin/auth - 20000000775 sys sys 1016920815 0
 386/bin/auth/aescbc - 775 sys sys 1125345944 140726
-386/bin/auth/asn12rsa - 775 sys sys 1127012950 119856
+386/bin/auth/asn12rsa - 775 sys sys 1127360564 120373
 386/bin/auth/authsrv - 775 sys sys 1125345945 165454
 386/bin/auth/changeuser - 775 sys sys 1125345945 97017
 386/bin/auth/convkeys - 775 sys sys 1117249742 87396
@@ -53,7 +53,7 @@
 386/bin/auth/debug - 775 sys sys 1125345946 101055
 386/bin/auth/disable - 775 sys sys 1020319057 146
 386/bin/auth/enable - 775 sys sys 1020319057 134
-386/bin/auth/factotum - 775 sys sys 1124939596 312512
+386/bin/auth/factotum - 775 sys sys 1127360564 312655
 386/bin/auth/fgui - 775 sys sys 1115950030 217869
 386/bin/auth/guard.srv - 775 sys sys 1125345947 142841
 386/bin/auth/iam - 775 sys sys 1085076981 50791
@@ -64,16 +64,16 @@
 386/bin/auth/pemdecode - 775 sys sys 1115950032 61457
 386/bin/auth/pemencode - 775 sys sys 1115950032 59851
 386/bin/auth/printnetkey - 775 sys sys 1115950032 40474
-386/bin/auth/rsa2csr - 775 sys sys 1127012950 179931
-386/bin/auth/rsa2pub - 775 sys sys 1125345948 143339
-386/bin/auth/rsa2ssh - 775 sys sys 1125345949 138720
-386/bin/auth/rsa2x509 - 775 sys sys 1127012951 183692
-386/bin/auth/rsafill - 775 sys sys 1125345950 143407
-386/bin/auth/rsagen - 775 sys sys 1115950034 153041
+386/bin/auth/rsa2csr - 775 sys sys 1127360565 180448
+386/bin/auth/rsa2pub - 775 sys sys 1127360565 143480
+386/bin/auth/rsa2ssh - 775 sys sys 1127360566 138861
+386/bin/auth/rsa2x509 - 775 sys sys 1127360566 184211
+386/bin/auth/rsafill - 775 sys sys 1127360566 143548
+386/bin/auth/rsagen - 775 sys sys 1127360567 153184
 386/bin/auth/secretpem - 775 sys sys 1045537944 118526
-386/bin/auth/secstore - 775 sys sys 1125345950 195266
-386/bin/auth/secstored - 775 sys sys 1125345951 196865
-386/bin/auth/secuser - 775 sys sys 1125345951 152799
+386/bin/auth/secstore - 775 sys sys 1127360567 195409
+386/bin/auth/secstored - 775 sys sys 1127360568 197008
+386/bin/auth/secuser - 775 sys sys 1127360568 152942
 386/bin/auth/status - 775 sys sys 1020319060 738
 386/bin/auth/uniq - 775 sys sys 1125345951 63059
 386/bin/auth/warning - 775 sys sys 1125345952 99558
@@ -109,8 +109,8 @@
 386/bin/aux/lines - 775 sys sys 1125345956 60483
 386/bin/aux/listen - 775 sys sys 1125345956 106887
 386/bin/aux/listen1 - 775 sys sys 1125345956 93410
-386/bin/aux/lpdaemon - 775 sys sys 1094040084 168085
-386/bin/aux/lpdsend - 775 sys sys 1116815421 153582
+386/bin/aux/lpdaemon - 775 sys sys 1127360569 168275
+386/bin/aux/lpdsend - 775 sys sys 1127360569 155113
 386/bin/aux/lpsend - 775 sys sys 1115950042 52540
 386/bin/aux/mapd - 775 sys sys 1115950043 190746
 386/bin/aux/mkflashfs - 775 sys sys 1115950043 67357
@@ -139,11 +139,11 @@
 386/bin/aux/searchfs - 775 sys sys 1115950049 89556
 386/bin/aux/sprog - 775 sys sys 1125345960 79340
 386/bin/aux/ssh_genkey - 775 sys sys 1045537957 194629
-386/bin/aux/sshserve - 775 sys sys 1125345960 251488
+386/bin/aux/sshserve - 775 sys sys 1127360570 251631
 386/bin/aux/stub - 775 sys sys 1124939599 135175
 386/bin/aux/tcpostio - 775 sys sys 1094040084 200808
 386/bin/aux/text2post - 775 sys sys 1104121986 78336
-386/bin/aux/timesync - 775 sys sys 1116126317 128213
+386/bin/aux/timesync - 775 sys sys 1127360570 128272
 386/bin/aux/tr2post - 775 sys sys 1104121987 176578
 386/bin/aux/trampoline - 775 sys sys 1126148864 83645
 386/bin/aux/typepasswd - 775 sys sys 1115950050 69503
@@ -154,7 +154,7 @@
 386/bin/aux/write - 775 sys sys 1085077011 4188
 386/bin/aux/zerotrunc - 775 sys sys 1108268388 3891
 386/bin/awd - 775 sys sys 1116903729 58738
-386/bin/awk - 775 sys sys 1116903729 321573
+386/bin/awk - 775 sys sys 1127360571 321759
 386/bin/basename - 775 sys sys 1115950051 37884
 386/bin/bc - 775 sys sys 1125345961 81767
 386/bin/bind - 775 sys sys 1115950052 59566
@@ -217,7 +217,7 @@
 386/bin/du - 775 sys sys 1115950066 73573
 386/bin/echo - 775 sys sys 1115950066 57355
 386/bin/ed - 775 sys sys 1125345970 93025
-386/bin/eqn - 775 sys sys 1087442511 242933
+386/bin/eqn - 775 sys sys 1127360572 243030
 386/bin/execnet - 775 sys sys 1124939601 172009
 386/bin/exportfs - 775 sys sys 1125345970 161162
 386/bin/ext2srv - 775 sys sys 1125345971 173998
@@ -243,7 +243,7 @@
 386/bin/fs/v10fs - 775 sys sys 1125345975 94562
 386/bin/fs/v6fs - 775 sys sys 1125345975 94480
 386/bin/fs/zipfs - 775 sys sys 1125345976 109079
-386/bin/ftpfs - 775 sys sys 1127012951 272234
+386/bin/ftpfs - 775 sys sys 1127360573 272753
 386/bin/games - 20000000775 sys sys 1096298711 0
 386/bin/games/4s - 775 sys sys 1120619353 177844
 386/bin/games/5s - 775 sys sys 1120619353 180356
@@ -258,19 +258,19 @@
 386/bin/games/sudoku - 775 sys sys 1117249746 171666
 386/bin/getmap - 775 sys sys 1115950076 65180
 386/bin/gif - 775 sys sys 1125345979 158054
-386/bin/grap - 775 sys sys 1116903733 280310
+386/bin/grap - 775 sys sys 1127360573 280492
 386/bin/graph - 775 sys sys 1115950077 127329
 386/bin/grep - 775 sys sys 1125345979 79058
-386/bin/gs - 775 sys sys 1094040110 11124993
+386/bin/gs - 775 sys sys 1127360600 11125161
 386/bin/gunzip - 775 sys sys 1125345979 80275
 386/bin/gview - 775 sys sys 1123384234 238204
 386/bin/gzip - 775 sys sys 1125345979 84753
 386/bin/hayes - 775 sys sys 1115950078 64556
-386/bin/hget - 775 sys sys 1127012952 232667
+386/bin/hget - 775 sys sys 1127360600 233186
 386/bin/history - 775 sys sys 1116903733 75357
 386/bin/hoc - 775 sys sys 1125345980 99866
 386/bin/html2ms - 775 sys sys 1125345981 66086
-386/bin/htmlfmt - 775 sys sys 1115950080 160683
+386/bin/htmlfmt - 775 sys sys 1127360601 160723
 386/bin/ico - 775 sys sys 1125345981 161421
 386/bin/iconv - 775 sys sys 1115950080 113265
 386/bin/idiff - 775 sys sys 1125345981 76103
@@ -285,7 +285,7 @@
 386/bin/ip/gping - 775 sys sys 1116126318 182819
 386/bin/ip/hogports - 775 sys sys 1118632064 42883
 386/bin/ip/httpd - 20000000775 sys sys 1016920846 0
-386/bin/ip/httpd/httpd - 775 sys sys 1127012952 291029
+386/bin/ip/httpd/httpd - 775 sys sys 1127360602 291548
 386/bin/ip/httpd/imagemap - 775 sys sys 1125345985 114776
 386/bin/ip/httpd/man2html - 775 sys sys 1125345985 123063
 386/bin/ip/httpd/netlib_find - 775 sys sys 1125345986 115621
@@ -353,7 +353,7 @@
 386/bin/passwd - 775 sys sys 1115950101 83747
 386/bin/pbd - 775 sys sys 1085077087 4661
 386/bin/pcc - 775 sys sys 1115950101 67806
-386/bin/pic - 775 sys sys 1116903734 305528
+386/bin/pic - 775 sys sys 1127360603 305710
 386/bin/pipefile - 775 sys sys 1115950102 39396
 386/bin/plot - 775 sys sys 1125346005 221993
 386/bin/plumb - 775 sys sys 1115950103 66969
@@ -386,7 +386,7 @@
 386/bin/rx - 775 sys sys 1115950109 82055
 386/bin/sam - 775 sys sys 1115950109 158368
 386/bin/scat - 775 sys sys 1125346010 284136
-386/bin/scp - 775 sys sys 1119496657 151927
+386/bin/scp - 775 sys sys 1127360603 152070
 386/bin/scuzz - 775 sys sys 1125346011 111604
 386/bin/sed - 775 sys sys 1125346011 89514
 386/bin/seq - 775 sys sys 1125544174 38396
@@ -398,13 +398,13 @@
 386/bin/sniffer - 775 sys sys 1038443185 99028
 386/bin/snoopy - 775 sys sys 1125346014 157537
 386/bin/sort - 775 sys sys 1125346014 82276
-386/bin/spin - 775 sys sys 1125544175 758333
+386/bin/spin - 775 sys sys 1127360605 758519
 386/bin/split - 775 sys sys 1125346015 75635
 386/bin/srv - 775 sys sys 1115950113 82387
 386/bin/srvfs - 775 sys sys 1116903736 40065
 386/bin/srvold9p - 775 sys sys 1115950114 130193
-386/bin/ssh - 775 sys sys 1125346015 211030
-386/bin/sshnet - 775 sys sys 1125346016 282842
+386/bin/ssh - 775 sys sys 1127360606 211173
+386/bin/sshnet - 775 sys sys 1127360607 282985
 386/bin/stats - 775 sys sys 1115950115 190072
 386/bin/strings - 775 sys sys 1125346016 62115
 386/bin/strip - 775 sys sys 1115950116 61981
@@ -420,8 +420,8 @@
 386/bin/telnet - 775 sys sys 1125346017 80355
 386/bin/test - 775 sys sys 1115950119 69853
 386/bin/time - 775 sys sys 1115950119 61386
-386/bin/tlsclient - 775 sys sys 1127012953 197885
-386/bin/tlssrv - 775 sys sys 1127012953 198123
+386/bin/tlsclient - 775 sys sys 1127360607 198402
+386/bin/tlssrv - 775 sys sys 1127360608 198640
 386/bin/togif - 775 sys sys 1125346019 189757
 386/bin/toico - 775 sys sys 1125346020 123515
 386/bin/topng - 775 sys sys 1125346020 138319
@@ -430,7 +430,7 @@
 386/bin/tprof - 775 sys sys 1125346021 290180
 386/bin/tr - 775 sys sys 1115950123 61851
 386/bin/trace - 775 sys sys 1123123799 180764
-386/bin/troff - 775 sys sys 1116990553 357750
+386/bin/troff - 775 sys sys 1127360609 357940
 386/bin/troff2html - 775 sys sys 1125346022 85691
 386/bin/tweak - 775 sys sys 1125346022 192540
 386/bin/unicode - 775 sys sys 1125346023 62514
@@ -445,7 +445,7 @@
 386/bin/upas/bayes - 775 sys sys 1064598344 70530
 386/bin/upas/deliver - 775 sys sys 1125346025 100057
 386/bin/upas/filter - 775 sys sys 1125346025 147600
-386/bin/upas/fs - 775 sys sys 1127012954 333054
+386/bin/upas/fs - 775 sys sys 1127360610 333573
 386/bin/upas/isspam - 775 sys sys 1064598349 38
 386/bin/upas/list - 775 sys sys 1125346026 82767
 386/bin/upas/marshal - 775 sys sys 1125346027 132895
@@ -455,18 +455,18 @@
 386/bin/upas/msgcat - 775 sys sys 1064598353 38
 386/bin/upas/msgtok - 775 sys sys 1064598354 75149
 386/bin/upas/nedmail - 775 sys sys 1125346029 156582
-386/bin/upas/pop3 - 775 sys sys 1127012955 260589
+386/bin/upas/pop3 - 775 sys sys 1127360610 261106
 386/bin/upas/qer - 775 sys sys 1125346030 100118
 386/bin/upas/ratfs - 775 sys sys 1125346030 111349
 386/bin/upas/runq - 775 sys sys 1125346030 113769
 386/bin/upas/scanmail - 775 sys sys 1125346031 129036
 386/bin/upas/send - 775 sys sys 1125346032 191814
-386/bin/upas/smtp - 775 sys sys 1127012955 274558
-386/bin/upas/smtpd - 775 sys sys 1127012956 329607
+386/bin/upas/smtp - 775 sys sys 1127360611 275075
+386/bin/upas/smtpd - 775 sys sys 1127360612 330126
 386/bin/upas/spam - 775 sys sys 1064598366 36
 386/bin/upas/testscan - 775 sys sys 1125346034 83659
 386/bin/upas/token - 775 sys sys 1115950132 77554
-386/bin/upas/unesc - 775 sys sys 1087442540 132079
+386/bin/upas/unesc - 775 sys sys 1127360613 132256
 386/bin/upas/unspam - 775 sys sys 1064598367 38
 386/bin/upas/vf - 775 sys sys 1125346034 96993
 386/bin/usb - 20000000775 sys sys 1019538890 0
@@ -495,13 +495,13 @@
 386/bin/venti/verifyarena - 775 sys sys 1115950139 104270
 386/bin/venti/wrarena - 775 sys sys 1115950140 176179
 386/bin/venti/write - 775 sys sys 1115950140 102499
-386/bin/vncs - 775 sys sys 1127012957 471908
-386/bin/vncv - 775 sys sys 1127012958 518730
+386/bin/vncs - 775 sys sys 1127360614 472425
+386/bin/vncv - 775 sys sys 1127360615 519249
 386/bin/vt - 775 sys sys 1125346038 173655
 386/bin/vtdump - 775 sys sys 1125346038 159458
 386/bin/wc - 775 sys sys 1115950143 41156
 386/bin/webcookies - 775 sys sys 1125346039 161625
-386/bin/webfs - 775 sys sys 1127012959 349999
+386/bin/webfs - 775 sys sys 1127360616 350516
 386/bin/webfsget - 775 sys sys 1115950144 39143
 386/bin/wikifs - 775 sys sys 1125889831 202134
 386/bin/winwatch - 775 sys sys 1115950145 154555
@@ -524,7 +524,7 @@
 386/lib - 20000000775 sys sys 1016826328 0
 386/lib/ape - 20000000775 sys sys 944969312 0
 386/lib/ape/lib9.a - 664 sys sys 1038237538 6378
-386/lib/ape/libap.a - 664 sys sys 1122001335 808982
+386/lib/ape/libap.a - 664 sys sys 1127360618 809456
 386/lib/ape/libbsd.a - 664 sys sys 1122001336 179308
 386/lib/ape/libdraw.a - 664 sys sys 1122001337 573764
 386/lib/ape/libfmt.a - 664 sys sys 1122001337 147204
@@ -547,22 +547,22 @@
 386/lib/libflate.a - 664 sys sys 1115950153 76872
 386/lib/libframe.a - 664 sys sys 1115950153 66060
 386/lib/libgeometry.a - 664 sys sys 1115950153 50470
-386/lib/libhtml.a - 664 sys sys 1115950154 219972
+386/lib/libhtml.a - 664 sys sys 1127360619 220134
 386/lib/libhttpd.a - 664 sys sys 1124766768 99488
 386/lib/libip.a - 664 sys sys 1116126324 35602
 386/lib/libl.a - 664 sys sys 1115950154 5384
 386/lib/libmach.a - 664 sys sys 1120619355 755696
 386/lib/libmemdraw.a - 664 sys sys 1120792317 284130
 386/lib/libmemlayer.a - 664 sys sys 1115950157 47360
-386/lib/libmp.a - 664 sys sys 1124766769 79532
+386/lib/libmp.a - 664 sys sys 1127360619 79944
 386/lib/libndb.a - 664 sys sys 1115950157 60666
 386/lib/libplumb.a - 664 sys sys 1115950157 18876
 386/lib/libregexp.a - 664 sys sys 1115950157 37464
 386/lib/libscribble.a - 664 sys sys 1116815422 107282
-386/lib/libsec.a - 664 sys sys 1127012961 645922
+386/lib/libsec.a - 664 sys sys 1127360621 646908
 386/lib/libstdio.a - 664 sys sys 1115950159 126206
 386/lib/libsunrpc.a - 664 sys sys 1115950160 355994
-386/lib/libthread.a - 664 sys sys 1115950160 71162
+386/lib/libthread.a - 664 sys sys 1127405452 72374
 386/lib/libventi.a - 664 sys sys 1124766772 97708
 386/mbr - 775 sys sys 1022125974 407
 386/mkfile - 664 sys sys 948141303 46
@@ -5186,6 +5186,7 @@ lib/ndb/local - 664 sys sys 1077723747 292
 lib/ndb/local.complicated - 664 sys sys 1105461604 2976
 lib/ndb/nfs - 664 sys sys 954036707 113
 lib/news - 20000000775 sys sys 944943954 0
+lib/pci - 664 sys sys 1127398141 193035
 lib/sky - 20000000775 sys sys 1079376081 0
 lib/sky/abell.scat - 444 sys sys 954015738 86784
 lib/sky/bayer.scat - 444 sys sys 954015738 12136
@@ -5236,7 +5237,7 @@ mail/lib/namefiles - 664 upas upas 960222586 63
 mail/lib/names.local - 664 upas upas 960222620 92
 mail/lib/patterns - 664 upas upas 957549063 602
 mail/lib/pipeto.bayes - 664 upas upas 1063950935 129
-mail/lib/pipeto.lib - 664 upas upas 1068478156 3340
+mail/lib/pipeto.lib - 664 upas upas 1127394564 3342
 mail/lib/prof.mbox - 664 upas upas 1063950959 13
 mail/lib/prof.spam - 664 upas upas 1063950959 13
 mail/lib/qmail - 775 upas upas 1102352695 197
@@ -5246,7 +5247,6 @@ mail/lib/rewrite.direct - 664 upas upas 1020271916 1048
 mail/lib/rewrite.gateway - 664 upas upas 1020271916 1078
 mail/lib/setup.bayes - 775 upas upas 1071065627 468
 mail/lib/smtpd.conf - 664 upas upas 961114164 536
-mail/lib/smtpd.conf.ext - 664 upas upas 1089299188 1032
 mail/lib/spam.rc - 775 upas upas 1063950954 400
 mail/lib/unspam.rc - 775 upas upas 1063950954 400
 mail/lib/validateaddress - 775 upas upas 1098803974 48
@@ -5387,7 +5387,7 @@ rc/bin - 20000000775 sys sys 1018637942 0
 rc/bin/9fat: - 775 sys sys 1015089559 354
 rc/bin/9fs - 775 sys sys 1079969823 948
 rc/bin/B - 775 sys sys 945617206 645
-rc/bin/C - 775 sys sys 1045493437 788
+rc/bin/C - 775 sys sys 1127395076 855
 rc/bin/Kill - 775 sys sys 1018637942 115
 rc/bin/a: - 775 sys sys 1063856406 255
 rc/bin/ap - 775 sys sys 1123163734 733
@@ -5418,7 +5418,7 @@ rc/bin/doc2txt - 775 sys sys 1025197880 563
 rc/bin/doctype - 775 sys sys 945617206 1726
 rc/bin/dosmnt - 775 sys sys 1109288224 303
 rc/bin/eject - 775 sys sys 945617207 123
-rc/bin/fax - 775 sys sys 1015701359 2390
+rc/bin/fax - 775 sys sys 1127394677 2385
 rc/bin/fedex - 775 sys sys 1060187356 1244
 rc/bin/fshalt - 775 sys sys 1100524288 1335
 rc/bin/homespool - 775 sys sys 945617207 339
@@ -5468,7 +5468,7 @@ rc/bin/pc/personalize - 775 sys sys 959698938 99
 rc/bin/pc/setup.9fat - 775 sys sys 960857447 546
 rc/bin/pc/setup.disk - 775 sys sys 960857447 579
 rc/bin/pc/update - 775 sys sys 960235807 468
-rc/bin/pci - 775 sys sys 1020377676 57
+rc/bin/pci - 775 sys sys 1127400818 752
 rc/bin/pdf2ps - 775 sys sys 1032054728 827
 rc/bin/postscript - 20000000775 sys sys 950322845 0
 rc/bin/printfont - 775 sys sys 945617208 2851
@@ -5532,7 +5532,7 @@ rc/bin/termrc - 775 sys sys 1125835735 2653
 rc/bin/thesaurus - 775 sys sys 1068054167 246
 rc/bin/tlsclienttunnel - 775 sys sys 1024375633 153
 rc/bin/tlssrvtunnel - 775 sys sys 1024375634 175
-rc/bin/troff2gif - 775 sys sys 1104430700 161
+rc/bin/troff2gif - 775 sys sys 1127410278 164
 rc/bin/ups - 775 sys sys 1091021981 806
 rc/bin/uptime - 775 sys sys 1074730712 234
 rc/bin/usbstart - 775 sys sys 1044894155 81
@@ -5596,7 +5596,7 @@ sys/doc/9.html - 664 sys sys 1091459042 87309
 sys/doc/9.ms - 664 sys sys 953237044 84632
 sys/doc/9.ps - 664 sys sys 960837924 508340
 sys/doc/acid.html - 664 sys sys 1091459045 71723
-sys/doc/acid.ms - 664 sys sys 1015012437 64944
+sys/doc/acid.ms - 664 sys sys 1127411211 65062
 sys/doc/acid.ps - 664 sys sys 1015012454 426359
 sys/doc/acidpaper.html - 664 sys sys 1091459045 46880
 sys/doc/acidpaper.ms - 664 sys sys 952880777 44805
@@ -5764,7 +5764,7 @@ sys/games - 20000000775 sys sys 952648872 0
 sys/games/lib - 20000000775 sys sys 952648879 0
 sys/games/lib/4scores - 10000000664 sys sys 1118680448 0
 sys/games/lib/5scores - 10000000664 sys sys 1118680453 0
-sys/games/lib/fortunes - 664 sys sys 1126211316 255804
+sys/games/lib/fortunes - 664 sys sys 1127394114 256007
 sys/games/lib/mahjongg - 20000000775 sys sys 1095792278 0
 sys/games/lib/mahjongg/backgrounds - 20000000775 sys sys 1095792293 0
 sys/games/lib/mahjongg/backgrounds/default.bit - 664 sys sys 1095792293 346803
@@ -6135,7 +6135,7 @@ sys/lib/dist/cmd/touchfs.c - 664 sys sys 1018469727 1120
 sys/lib/dist/cmd/unbflz.c - 664 sys sys 1018469727 1688
 sys/lib/dist/logcompress.awk - 664 sys sys 1068558028 298
 sys/lib/dist/logtime.awk - 664 sys sys 1019526213 38
-sys/lib/dist/mkfile - 664 sys sys 1123094501 3857
+sys/lib/dist/mkfile - 664 sys sys 1127410222 4409
 sys/lib/dist/pc - 20000000775 sys sys 1018721419 0
 sys/lib/dist/pc/cd0.proto - 664 sys sys 1114358485 7
 sys/lib/dist/pc/empty - 20000000775 sys sys 1018469720 0
@@ -6224,12 +6224,12 @@ sys/lib/dist/pc/sub/users - 664 sys sys 1018469726 103
 sys/lib/dist/pc/sub/vmware - 775 sys sys 1033073493 132
 sys/lib/eqnchar - 664 sys sys 944956052 2727
 sys/lib/fax - 20000000775 sys sys 944957096 0
-sys/lib/fax/faxgoose - 775 sys sys 944957083 137
-sys/lib/fax/faxtickle - 775 sys sys 944957083 129
+sys/lib/fax/faxgoose - 775 sys sys 1127394686 132
+sys/lib/fax/faxtickle - 775 sys sys 1127394652 121
 sys/lib/fax/faxtry - 775 sys sys 944957083 95
 sys/lib/fax/h.ps - 664 sys sys 944957083 58462
 sys/lib/fax/header - 664 sys sys 944957096 551
-sys/lib/fax/receiverc - 775 sys sys 1015088450 1118
+sys/lib/fax/receiverc - 775 sys sys 1127394652 1094
 sys/lib/ghostscript - 20000000775 sys sys 1014924544 0
 sys/lib/ghostscript/Fontmap.bak - 664 sys sys 1014924528 17920
 sys/lib/ghostscript/Fontmap.gs - 664 sys sys 1014924528 13604
@@ -7042,7 +7042,7 @@ sys/lib/tmac/tmac.pictures - 664 sys sys 944956203 4320
 sys/lib/tmac/tmac.psychrefs - 664 sys sys 944956203 608
 sys/lib/tmac/tmac.ptx - 664 sys sys 944956203 330
 sys/lib/tmac/tmac.rscover - 664 sys sys 944956203 2070
-sys/lib/tmac/tmac.s - 664 sys sys 1104430314 23029
+sys/lib/tmac/tmac.s - 664 sys sys 1127393909 23027
 sys/lib/tmac/tmac.scover - 664 sys sys 944956204 4616
 sys/lib/tmac/tmac.sdisp - 664 sys sys 944956204 864
 sys/lib/tmac/tmac.skeep - 664 sys sys 944956204 1346
@@ -7592,7 +7592,7 @@ sys/man/4/nfs - 664 sys sys 1049776970 4475
 sys/man/4/nntpfs - 664 sys sys 1032632346 2771
 sys/man/4/paqfs - 664 sys sys 1017723482 1541
 sys/man/4/plumber - 664 sys sys 944959699 2748
-sys/man/4/ramfs - 664 sys sys 1019770716 1333
+sys/man/4/ramfs - 664 sys sys 1127393035 1447
 sys/man/4/ratfs - 664 sys sys 1017423722 3272
 sys/man/4/rdbfs - 664 sys sys 944959699 1123
 sys/man/4/rio - 664 sys sys 1023206844 8660
@@ -7947,7 +7947,7 @@ sys/src/9/pc/etherelnk3.c - 664 sys sys 1081706477 48724
 sys/src/9/pc/etherga620.c - 664 sys sys 1074785126 28754
 sys/src/9/pc/etherga620fw.h - 664 sys sys 1026847642 222295
 sys/src/9/pc/etherif.h - 664 sys sys 1088178711 961
-sys/src/9/pc/etherigbe.c - 664 sys sys 1123445077 44186
+sys/src/9/pc/etherigbe.c - 664 sys sys 1127393123 44412
 sys/src/9/pc/ethermii.c - 664 sys sys 1084331434 4612
 sys/src/9/pc/ethermii.h - 664 sys sys 1086873891 3258
 sys/src/9/pc/etherrhine.c - 664 sys sys 1081706478 13799
@@ -7974,11 +7974,11 @@ sys/src/9/pc/mouse.c - 664 sys sys 1098479254 7057
 sys/src/9/pc/mp.c - 664 sys sys 1123637234 17024
 sys/src/9/pc/mp.h - 664 sys sys 1015014520 6575
 sys/src/9/pc/nv_dma.h - 664 sys sys 1081384508 12943
-sys/src/9/pc/pc - 664 sys sys 1079575705 1367
+sys/src/9/pc/pc - 664 sys sys 1127411319 1408
 sys/src/9/pc/pcauth - 664 sys sys 1073851852 657
 sys/src/9/pc/pccd - 664 sys sys 1091458811 1408
-sys/src/9/pc/pccpu - 664 sys sys 1084475127 806
-sys/src/9/pc/pccpuf - 664 sys sys 1073851852 1315
+sys/src/9/pc/pccpu - 664 sys sys 1127411311 835
+sys/src/9/pc/pccpuf - 664 sys sys 1127411330 1467
 sys/src/9/pc/pcdisk - 664 sys sys 1073851851 1427
 sys/src/9/pc/pcf - 664 sys sys 1104430623 1485
 sys/src/9/pc/pcfl - 664 sys sys 1042004821 1563
@@ -7998,7 +7998,7 @@ sys/src/9/pc/screen.h - 664 sys sys 1060267144 3797
 sys/src/9/pc/sd53c8xx.c - 664 sys sys 1112461125 52220
 sys/src/9/pc/sd53c8xx.i - 664 sys sys 1045063730 27355
 sys/src/9/pc/sd53c8xx.n - 664 sys sys 1032059019 12455
-sys/src/9/pc/sdata.c - 664 sys sys 1126906010 51396
+sys/src/9/pc/sdata.c - 664 sys sys 1127404875 51702
 sys/src/9/pc/sdmylex.c - 664 sys sys 1071245460 27812
 sys/src/9/pc/sdscsi.c - 664 sys sys 1077033661 7487
 sys/src/9/pc/trap.c - 664 sys sys 1123438642 20550
@@ -8056,7 +8056,7 @@ sys/src/9/port/devkprof.c - 664 sys sys 1014931173 3111
 sys/src/9/port/devloopback.c - 664 sys sys 1076612248 14573
 sys/src/9/port/devmnt.c - 664 sys sys 1126586197 21545
 sys/src/9/port/devmntstats.c - 664 sys sys 1014931173 4039
-sys/src/9/port/devmouse.c - 664 sys sys 1099760452 12504
+sys/src/9/port/devmouse.c - 664 sys sys 1127360658 12976
 sys/src/9/port/devpipe.c - 664 sys sys 1077055016 5825
 sys/src/9/port/devpnp.c - 664 sys sys 1088560907 13624
 sys/src/9/port/devproc.c - 664 sys sys 1126586197 28465
@@ -9253,19 +9253,19 @@ sys/src/cmd/9nfs/unixnames.c - 664 sys sys 1065963574 6006
 sys/src/cmd/9nfs/xfile.c - 664 sys sys 1017337816 1847
 sys/src/cmd/aan.c - 664 sys sys 1019856827 9758
 sys/src/cmd/acid - 20000000775 sys sys 944960739 0
-sys/src/cmd/acid/acid.h - 664 sys sys 1046198958 4354
+sys/src/cmd/acid/acid.h - 664 sys sys 1127393275 4389
 sys/src/cmd/acid/builtin.c - 664 sys sys 1127214825 20156
 sys/src/cmd/acid/dbg.y - 664 sys sys 1081736447 5567
 sys/src/cmd/acid/dot.c - 664 sys sys 944960739 2161
 sys/src/cmd/acid/exec.c - 664 sys sys 1016833876 8187
-sys/src/cmd/acid/expr.c - 664 sys sys 1046198961 15093
+sys/src/cmd/acid/expr.c - 664 sys sys 1127393280 15220
 sys/src/cmd/acid/lex.c - 664 sys sys 1046198960 7861
 sys/src/cmd/acid/list.c - 664 sys sys 944960738 3671
 sys/src/cmd/acid/main.c - 664 sys sys 1046198959 8475
 sys/src/cmd/acid/mkfile - 664 sys sys 1046199006 366
 sys/src/cmd/acid/print.c - 664 sys sys 984756705 6840
 sys/src/cmd/acid/proc.c - 664 sys sys 1119470118 4602
-sys/src/cmd/acid/util.c - 664 sys sys 944960738 4297
+sys/src/cmd/acid/util.c - 664 sys sys 1127393277 4616
 sys/src/cmd/acme - 20000000775 sys sys 969511023 0
 sys/src/cmd/acme/acme.c - 664 sys sys 1104430286 19613
 sys/src/cmd/acme/addr.c - 664 sys sys 1111171698 4805
@@ -9418,7 +9418,7 @@ sys/src/cmd/auth/userpasswd.c - 664 sys sys 1015008432 591
 sys/src/cmd/auth/warning.c - 664 sys sys 1122901749 5303
 sys/src/cmd/auth/wrkey.c - 664 sys sys 1019058717 176
 sys/src/cmd/aux - 20000000775 sys sys 1015008975 0
-sys/src/cmd/aux/9pcon.c - 664 sys sys 1032059259 6283
+sys/src/cmd/aux/9pcon.c - 664 sys sys 1127394247 6284
 sys/src/cmd/aux/accupoint.c - 664 sys sys 985124882 2166
 sys/src/cmd/aux/acidleak.c - 664 sys sys 1126879783 5952
 sys/src/cmd/aux/antiword - 20000000775 sys sys 1069793877 0
@@ -9704,7 +9704,7 @@ sys/src/cmd/cal.c - 664 sys sys 944961619 4206
 sys/src/cmd/calendar.c - 664 sys sys 1116769436 4221
 sys/src/cmd/cat.c - 664 sys sys 1014926693 532
 sys/src/cmd/cb - 20000000775 sys sys 1062860425 0
-sys/src/cmd/cb/cb.c - 664 sys sys 1063039630 18439
+sys/src/cmd/cb/cb.c - 664 sys sys 1127392719 18523
 sys/src/cmd/cb/cb.h - 664 sys sys 1063023989 3404
 sys/src/cmd/cb/cbtype.c - 664 sys sys 1062860425 674
 sys/src/cmd/cb/cbtype.h - 664 sys sys 1062860425 794
@@ -11896,10 +11896,10 @@ sys/src/cmd/idiff.c - 664 sys sys 1014926695 6896
 sys/src/cmd/import.c - 664 sys sys 1122260912 6885
 sys/src/cmd/init.c - 664 sys sys 1121977160 4462
 sys/src/cmd/iostats - 20000000775 sys sys 944962001 0
-sys/src/cmd/iostats/iostats.c - 664 sys sys 1014925727 9691
+sys/src/cmd/iostats/iostats.c - 664 sys sys 1127431876 9669
 sys/src/cmd/iostats/mkfile - 664 sys sys 1014925727 122
-sys/src/cmd/iostats/statfs.h - 664 sys sys 1014925727 2621
-sys/src/cmd/iostats/statsrv.c - 664 sys sys 1055699098 10756
+sys/src/cmd/iostats/statfs.h - 664 sys sys 1127431876 2617
+sys/src/cmd/iostats/statsrv.c - 664 sys sys 1127431876 10745
 sys/src/cmd/ip - 20000000775 sys sys 1015096228 0
 sys/src/cmd/ip/arp.h - 664 sys sys 944961005 751
 sys/src/cmd/ip/dhcp.h - 664 sys sys 1051206271 3368
@@ -12240,12 +12240,12 @@ sys/src/cmd/ndb/cs.c - 664 sys sys 1104854491 33070
 sys/src/cmd/ndb/csgetval.c - 664 sys sys 957402051 1051
 sys/src/cmd/ndb/csquery.c - 664 sys sys 1014926159 1062
 sys/src/cmd/ndb/dblookup.c - 664 sys sys 1123602793 18275
-sys/src/cmd/ndb/dn.c - 664 sys sys 1090409399 26970
+sys/src/cmd/ndb/dn.c - 664 sys sys 1127392642 27986
 sys/src/cmd/ndb/dnarea.c - 664 sys sys 1121977162 2128
 sys/src/cmd/ndb/dnnotify.c - 664 sys sys 1055701929 3062
 sys/src/cmd/ndb/dnresolve.c - 664 sys sys 1079747687 15363
 sys/src/cmd/ndb/dns.c - 664 sys sys 1079747686 15333
-sys/src/cmd/ndb/dns.h - 664 sys sys 1079747686 8980
+sys/src/cmd/ndb/dns.h - 664 sys sys 1127392642 10141
 sys/src/cmd/ndb/dnsdebug.c - 664 sys sys 1079747685 8488
 sys/src/cmd/ndb/dnserver.c - 664 sys sys 1021579994 3687
 sys/src/cmd/ndb/dnsquery.c - 664 sys sys 1120564714 2198
@@ -12668,7 +12668,7 @@ sys/src/cmd/ql/optab.c - 664 sys sys 1089299167 13392
 sys/src/cmd/ql/pass.c - 664 sys sys 1089299168 11868
 sys/src/cmd/ql/sched.c - 664 sys sys 1089299166 12776
 sys/src/cmd/ql/span.c - 664 sys sys 1089299167 19882
-sys/src/cmd/ramfs.c - 664 sys sys 1126005899 15927
+sys/src/cmd/ramfs.c - 664 sys sys 1127393035 15950
 sys/src/cmd/ratfs - 20000000775 sys sys 1016943965 0
 sys/src/cmd/ratfs/ctlfiles.c - 664 sys sys 1016943964 6694
 sys/src/cmd/ratfs/main.c - 664 sys sys 1016943964 6516
@@ -12737,6 +12737,7 @@ sys/src/cmd/rio/xfid.c - 664 sys sys 1103205531 17446
 sys/src/cmd/rm.c - 664 sys sys 1014926615 1563
 sys/src/cmd/rx.c - 664 sys sys 1099760378 4382
 sys/src/cmd/sam - 20000000775 sys sys 944961629 0
+sys/src/cmd/sam/acid.lib - 664 sys sys 1127393265 1536
 sys/src/cmd/sam/address.c - 664 sys sys 944961628 3985
 sys/src/cmd/sam/buff.c - 664 sys sys 1014926937 5161
 sys/src/cmd/sam/cmd.c - 664 sys sys 944961628 10461
@@ -13402,10 +13403,10 @@ sys/src/cmd/upas/send/tryit - 664 sys sys 944961322 584
 sys/src/cmd/upas/smtp - 20000000775 sys sys 988250017 0
 sys/src/cmd/upas/smtp/greylist.c - 664 sys sys 1091126808 6470
 sys/src/cmd/upas/smtp/mkfile - 664 sys sys 1108910002 801
-sys/src/cmd/upas/smtp/mxdial.c - 664 sys sys 1108875334 6251
+sys/src/cmd/upas/smtp/mxdial.c - 664 sys sys 1127394225 6422
 sys/src/cmd/upas/smtp/rfc822.y - 664 sys sys 1064589606 13417
 sys/src/cmd/upas/smtp/rmtdns.c - 664 sys sys 1015013150 1069
-sys/src/cmd/upas/smtp/smtp.c - 664 sys sys 1108827987 20071
+sys/src/cmd/upas/smtp/smtp.c - 664 sys sys 1127394218 20091
 sys/src/cmd/upas/smtp/smtp.h - 664 sys sys 1108827986 1270
 sys/src/cmd/upas/smtp/smtpd.c - 664 sys sys 1120737512 30820
 sys/src/cmd/upas/smtp/smtpd.h - 664 sys sys 1067722781 1111
@@ -13615,7 +13616,7 @@ sys/src/cmd/vnc/vncv.h - 664 sys sys 1044880750 643
 sys/src/cmd/vnc/wsys.c - 664 sys sys 1102429521 4052
 sys/src/cmd/vt - 20000000775 sys sys 954038635 0
 sys/src/cmd/vt/cons.h - 664 sys sys 984718311 1660
-sys/src/cmd/vt/consctl.c - 664 sys sys 952627639 1815
+sys/src/cmd/vt/consctl.c - 664 sys sys 1127425716 1796
 sys/src/cmd/vt/event.c - 664 sys sys 1121977166 1071
 sys/src/cmd/vt/event.h - 664 sys sys 944961620 192
 sys/src/cmd/vt/hp.c - 664 sys sys 984718311 3362
@@ -14884,6 +14885,7 @@ sys/src/libsunrpc/udp.c - 664 sys sys 1050717777 2193
 sys/src/libthread - 20000000775 sys sys 1014928161 0
 sys/src/libthread/386.c - 664 sys sys 1014928156 448
 sys/src/libthread/alpha.c - 664 sys sys 1014928156 664
+sys/src/libthread/amd64.c - 664 sys sys 1127405453 579
 sys/src/libthread/arm.c - 664 sys sys 1014928156 582
 sys/src/libthread/channel.c - 664 sys sys 1045502115 8519
 sys/src/libthread/chanprint.c - 664 sys sys 1014928156 328
@@ -14906,7 +14908,7 @@ sys/src/libthread/kill.c - 664 sys sys 1014928157 1336
 sys/src/libthread/lib.c - 664 sys sys 1014928158 709
 sys/src/libthread/main.c - 664 sys sys 1017679321 3079
 sys/src/libthread/mips.c - 664 sys sys 1014928158 583
-sys/src/libthread/mkfile - 664 sys sys 1044429931 986
+sys/src/libthread/mkfile - 664 sys sys 1127405452 1012
 sys/src/libthread/note.c - 664 sys sys 1055700452 2265
 sys/src/libthread/power.c - 664 sys sys 1014928159 585
 sys/src/libthread/ref.c - 664 sys sys 1014928159 168
@@ -14917,9 +14919,10 @@ sys/src/libthread/threadimpl.h - 664 sys sys 1055700447 4689
 sys/src/libthread/tprimes.c - 664 sys sys 1014928160 798
 sys/src/libthread/xinc386.s - 664 sys sys 1014928160 417
 sys/src/libthread/xincalpha.s - 664 sys sys 1015088758 344
+sys/src/libthread/xincamd64.s - 664 sys sys 1127405454 292
 sys/src/libthread/xincarm.c - 664 sys sys 1014928160 22
 sys/src/libthread/xincmips.s - 664 sys sys 1014928160 674
-sys/src/libthread/xincport.h - 664 sys sys 1014928161 211
+sys/src/libthread/xincport.h - 664 sys sys 1127405405 211
 sys/src/libthread/xincpower.s - 664 sys sys 1048645448 342
 sys/src/libventi - 20000000775 sys sys 947360466 0
 sys/src/libventi/client.c - 664 sys sys 1121977166 5362
@@ -14964,60 +14967,13 @@ usr/glenda/lib/profile - 664 glenda glenda 1105128663 890
 usr/glenda/readme.acme - 664 glenda glenda 1019860628 4753
 usr/glenda/readme.rio - 664 glenda glenda 1019860628 6370
 usr/glenda/tmp - 20000000775 glenda glenda 1018802620 0
-386/bin/8a - 775 sys sys 1127360556 115969
-386/bin/acid - 775 sys sys 1127360557 390191
-386/bin/awk - 775 sys sys 1127360571 321759
-386/bin/eqn - 775 sys sys 1127360572 243030
-386/bin/hget - 775 sys sys 1127360600 233186
-386/bin/htmlfmt - 775 sys sys 1127360601 160723
-386/bin/vncs - 775 sys sys 1127360614 472425
-386/bin/vncv - 775 sys sys 1127360615 519249
-386/bin/ftpfs - 775 sys sys 1127360573 272753
-386/bin/grap - 775 sys sys 1127360573 280492
-386/bin/gs - 775 sys sys 1127360600 11125161
-386/bin/pic - 775 sys sys 1127360603 305710
-386/bin/scp - 775 sys sys 1127360603 152070
-386/bin/spin - 775 sys sys 1127360605 758519
-386/bin/ssh - 775 sys sys 1127360606 211173
-386/bin/webfs - 775 sys sys 1127360616 350516
-386/bin/ape/basename - 775 sys sys 1127360557 132862
-386/bin/ape/diff - 775 sys sys 1127360558 349757
-386/bin/ape/diff3 - 775 sys sys 1127360559 188245
-386/bin/ape/dirname - 775 sys sys 1127360559 132641
-386/bin/ape/expr - 775 sys sys 1127360559 142283
-386/bin/ape/kill - 775 sys sys 1127360560 138212
-386/bin/ape/make - 775 sys sys 1127360561 209104
-386/bin/ape/patch - 775 sys sys 1127360561 302548
-386/bin/ape/sed - 775 sys sys 1127360562 158314
-386/bin/ape/sh - 775 sys sys 1127360563 477226
-386/bin/ape/uname - 775 sys sys 1127360563 132691
-386/bin/auth/asn12rsa - 775 sys sys 1127360564 120373
-386/bin/auth/factotum - 775 sys sys 1127360564 312655
-386/bin/auth/rsa2csr - 775 sys sys 1127360565 180448
-386/bin/auth/rsa2pub - 775 sys sys 1127360565 143480
-386/bin/auth/rsa2ssh - 775 sys sys 1127360566 138861
-386/bin/auth/rsa2x509 - 775 sys sys 1127360566 184211
-386/bin/auth/rsafill - 775 sys sys 1127360566 143548
-386/bin/auth/rsagen - 775 sys sys 1127360567 153184
-386/bin/auth/secstore - 775 sys sys 1127360567 195409
-386/bin/auth/secstored - 775 sys sys 1127360568 197008
-386/bin/auth/secuser - 775 sys sys 1127360568 152942
-386/bin/aux/lpdaemon - 775 sys sys 1127360569 168275
-386/bin/aux/lpdsend - 775 sys sys 1127360569 155113
-386/bin/aux/sshserve - 775 sys sys 1127360570 251631
-386/bin/aux/timesync - 775 sys sys 1127360570 128272
-386/bin/ip/httpd/httpd - 775 sys sys 1127360602 291548
-386/bin/sshnet - 775 sys sys 1127360607 282985
-386/bin/tlsclient - 775 sys sys 1127360607 198402
-386/bin/tlssrv - 775 sys sys 1127360608 198640
-386/bin/troff - 775 sys sys 1127360609 357940
-386/bin/upas/fs - 775 sys sys 1127360610 333573
-386/bin/upas/pop3 - 775 sys sys 1127360610 261106
-386/bin/upas/smtp - 775 sys sys 1127360611 275075
-386/bin/upas/smtpd - 775 sys sys 1127360612 330126
-386/bin/upas/unesc - 775 sys sys 1127360613 132256
-386/lib/ape/libap.a - 664 sys sys 1127360618 809456
-386/lib/libhtml.a - 664 sys sys 1127360619 220134
-386/lib/libmp.a - 664 sys sys 1127360619 79944
-386/lib/libsec.a - 664 sys sys 1127360621 646908
-sys/src/9/port/devmouse.c - 664 sys sys 1127360658 12976
+386/bin/acid - 775 sys sys 1127445048 390487
+386/bin/iostats - 775 sys sys 1127445049 98431
+386/bin/ramfs - 775 sys sys 1127445051 89822
+386/bin/aux/9pcon - 775 sys sys 1127445048 94916
+386/bin/cb - 775 sys sys 1127445048 77589
+386/bin/ndb/dns - 775 sys sys 1127445050 245101
+386/bin/ndb/dnsdebug - 775 sys sys 1127445050 219717
+386/bin/ndb/dnstcp - 775 sys sys 1127445050 218358
+386/bin/upas/smtp - 775 sys sys 1127445051 275242
+386/bin/vt - 775 sys sys 1127445052 173660

+ 49 - 46
dist/replica/plan9.db

@@ -19,7 +19,7 @@
 386/bin/8l - 775 sys sys 1125345940 115694
 386/bin/9660srv - 775 sys sys 1115950023 104037
 386/bin/aan - 775 sys sys 1115950023 130710
-386/bin/acid - 775 sys sys 1127360557 390191
+386/bin/acid - 775 sys sys 1127445048 390487
 386/bin/acme - 775 sys sys 1125345943 428545
 386/bin/ape - 20000000775 sys sys 1016944144 0
 386/bin/ape/basename - 775 sys sys 1127360557 132862
@@ -79,7 +79,7 @@
 386/bin/auth/warning - 775 sys sys 1125345952 99558
 386/bin/auth/wrkey - 775 sys sys 1117249745 75165
 386/bin/aux - 20000000775 sys sys 1016920817 0
-386/bin/aux/9pcon - 775 sys sys 1125345953 94916
+386/bin/aux/9pcon - 775 sys sys 1127445048 94916
 386/bin/aux/LOCK - 775 sys sys 1115950037 59908
 386/bin/aux/X509gen - 775 sys sys 1048341826 129186
 386/bin/aux/accupoint - 775 sys sys 1115950037 40059
@@ -171,7 +171,7 @@
 386/bin/cal - 775 sys sys 1125345963 67877
 386/bin/calendar - 775 sys sys 1125345963 80212
 386/bin/cat - 775 sys sys 1115950056 37447
-386/bin/cb - 775 sys sys 1125345963 77510
+386/bin/cb - 775 sys sys 1127445048 77589
 386/bin/cdfs - 775 sys sys 1126321689 161177
 386/bin/cfs - 775 sys sys 1115950056 128067
 386/bin/chgrp - 775 sys sys 1115950056 59285
@@ -275,7 +275,7 @@
 386/bin/iconv - 775 sys sys 1115950080 113265
 386/bin/idiff - 775 sys sys 1125345981 76103
 386/bin/import - 775 sys sys 1125345982 100290
-386/bin/iostats - 775 sys sys 1115950081 97978
+386/bin/iostats - 775 sys sys 1127445049 98431
 386/bin/ip - 20000000775 sys sys 1016920851 0
 386/bin/ip/dhcpclient - 775 sys sys 1116126317 94096
 386/bin/ip/dhcpd - 775 sys sys 1125345983 149123
@@ -331,10 +331,10 @@
 386/bin/ndb - 20000000775 sys sys 985743147 0
 386/bin/ndb/cs - 775 sys sys 1125345996 149228
 386/bin/ndb/csquery - 775 sys sys 1125345996 61467
-386/bin/ndb/dns - 775 sys sys 1125345997 220081
-386/bin/ndb/dnsdebug - 775 sys sys 1125345998 194693
+386/bin/ndb/dns - 775 sys sys 1127445050 245101
+386/bin/ndb/dnsdebug - 775 sys sys 1127445050 219717
 386/bin/ndb/dnsquery - 775 sys sys 1125345998 63634
-386/bin/ndb/dnstcp - 775 sys sys 1125345999 193334
+386/bin/ndb/dnstcp - 775 sys sys 1127445050 218358
 386/bin/ndb/ipquery - 775 sys sys 1125345999 95479
 386/bin/ndb/mkdb - 775 sys sys 1125345999 63973
 386/bin/ndb/mkhash - 775 sys sys 1125346000 83908
@@ -366,7 +366,7 @@
 386/bin/proof - 775 sys sys 1125346007 178401
 386/bin/ps - 775 sys sys 1125346007 67985
 386/bin/pwd - 775 sys sys 1115950105 36897
-386/bin/ramfs - 775 sys sys 1126062687 89789
+386/bin/ramfs - 775 sys sys 1127445051 89822
 386/bin/rc - 775 sys sys 1119496655 143226
 386/bin/rdbfs - 775 sys sys 1125346008 168500
 386/bin/read - 775 sys sys 1115950106 58046
@@ -461,7 +461,7 @@
 386/bin/upas/runq - 775 sys sys 1125346030 113769
 386/bin/upas/scanmail - 775 sys sys 1125346031 129036
 386/bin/upas/send - 775 sys sys 1125346032 191814
-386/bin/upas/smtp - 775 sys sys 1127360611 275075
+386/bin/upas/smtp - 775 sys sys 1127445051 275242
 386/bin/upas/smtpd - 775 sys sys 1127360612 330126
 386/bin/upas/spam - 775 sys sys 1064598366 36
 386/bin/upas/testscan - 775 sys sys 1125346034 83659
@@ -497,7 +497,7 @@
 386/bin/venti/write - 775 sys sys 1115950140 102499
 386/bin/vncs - 775 sys sys 1127360614 472425
 386/bin/vncv - 775 sys sys 1127360615 519249
-386/bin/vt - 775 sys sys 1125346038 173655
+386/bin/vt - 775 sys sys 1127445052 173660
 386/bin/vtdump - 775 sys sys 1125346038 159458
 386/bin/wc - 775 sys sys 1115950143 41156
 386/bin/webcookies - 775 sys sys 1125346039 161625
@@ -562,7 +562,7 @@
 386/lib/libsec.a - 664 sys sys 1127360621 646908
 386/lib/libstdio.a - 664 sys sys 1115950159 126206
 386/lib/libsunrpc.a - 664 sys sys 1115950160 355994
-386/lib/libthread.a - 664 sys sys 1115950160 71162
+386/lib/libthread.a - 664 sys sys 1127405452 72374
 386/lib/libventi.a - 664 sys sys 1124766772 97708
 386/mbr - 775 sys sys 1022125974 407
 386/mkfile - 664 sys sys 948141303 46
@@ -5186,6 +5186,7 @@ lib/ndb/local - 664 sys sys 1077723747 292
 lib/ndb/local.complicated - 664 sys sys 1105461604 2976
 lib/ndb/nfs - 664 sys sys 954036707 113
 lib/news - 20000000775 sys sys 944943954 0
+lib/pci - 664 sys sys 1127398141 193035
 lib/sky - 20000000775 sys sys 1079376081 0
 lib/sky/abell.scat - 444 sys sys 954015738 86784
 lib/sky/bayer.scat - 444 sys sys 954015738 12136
@@ -5236,7 +5237,7 @@ mail/lib/namefiles - 664 upas upas 960222586 63
 mail/lib/names.local - 664 upas upas 960222620 92
 mail/lib/patterns - 664 upas upas 957549063 602
 mail/lib/pipeto.bayes - 664 upas upas 1063950935 129
-mail/lib/pipeto.lib - 664 upas upas 1068478156 3340
+mail/lib/pipeto.lib - 664 upas upas 1127394564 3342
 mail/lib/prof.mbox - 664 upas upas 1063950959 13
 mail/lib/prof.spam - 664 upas upas 1063950959 13
 mail/lib/qmail - 775 upas upas 1102352695 197
@@ -5246,7 +5247,6 @@ mail/lib/rewrite.direct - 664 upas upas 1020271916 1048
 mail/lib/rewrite.gateway - 664 upas upas 1020271916 1078
 mail/lib/setup.bayes - 775 upas upas 1071065627 468
 mail/lib/smtpd.conf - 664 upas upas 961114164 536
-mail/lib/smtpd.conf.ext - 664 upas upas 1089299188 1032
 mail/lib/spam.rc - 775 upas upas 1063950954 400
 mail/lib/unspam.rc - 775 upas upas 1063950954 400
 mail/lib/validateaddress - 775 upas upas 1098803974 48
@@ -5387,7 +5387,7 @@ rc/bin - 20000000775 sys sys 1018637942 0
 rc/bin/9fat: - 775 sys sys 1015089559 354
 rc/bin/9fs - 775 sys sys 1079969823 948
 rc/bin/B - 775 sys sys 945617206 645
-rc/bin/C - 775 sys sys 1045493437 788
+rc/bin/C - 775 sys sys 1127395076 855
 rc/bin/Kill - 775 sys sys 1018637942 115
 rc/bin/a: - 775 sys sys 1063856406 255
 rc/bin/ap - 775 sys sys 1123163734 733
@@ -5418,7 +5418,7 @@ rc/bin/doc2txt - 775 sys sys 1025197880 563
 rc/bin/doctype - 775 sys sys 945617206 1726
 rc/bin/dosmnt - 775 sys sys 1109288224 303
 rc/bin/eject - 775 sys sys 945617207 123
-rc/bin/fax - 775 sys sys 1015701359 2390
+rc/bin/fax - 775 sys sys 1127394677 2385
 rc/bin/fedex - 775 sys sys 1060187356 1244
 rc/bin/fshalt - 775 sys sys 1100524288 1335
 rc/bin/homespool - 775 sys sys 945617207 339
@@ -5468,7 +5468,7 @@ rc/bin/pc/personalize - 775 sys sys 959698938 99
 rc/bin/pc/setup.9fat - 775 sys sys 960857447 546
 rc/bin/pc/setup.disk - 775 sys sys 960857447 579
 rc/bin/pc/update - 775 sys sys 960235807 468
-rc/bin/pci - 775 sys sys 1020377676 57
+rc/bin/pci - 775 sys sys 1127400818 752
 rc/bin/pdf2ps - 775 sys sys 1032054728 827
 rc/bin/postscript - 20000000775 sys sys 950322845 0
 rc/bin/printfont - 775 sys sys 945617208 2851
@@ -5532,7 +5532,7 @@ rc/bin/termrc - 775 sys sys 1125835735 2653
 rc/bin/thesaurus - 775 sys sys 1068054167 246
 rc/bin/tlsclienttunnel - 775 sys sys 1024375633 153
 rc/bin/tlssrvtunnel - 775 sys sys 1024375634 175
-rc/bin/troff2gif - 775 sys sys 1104430700 161
+rc/bin/troff2gif - 775 sys sys 1127410278 164
 rc/bin/ups - 775 sys sys 1091021981 806
 rc/bin/uptime - 775 sys sys 1074730712 234
 rc/bin/usbstart - 775 sys sys 1044894155 81
@@ -5596,7 +5596,7 @@ sys/doc/9.html - 664 sys sys 1091459042 87309
 sys/doc/9.ms - 664 sys sys 953237044 84632
 sys/doc/9.ps - 664 sys sys 960837924 508340
 sys/doc/acid.html - 664 sys sys 1091459045 71723
-sys/doc/acid.ms - 664 sys sys 1015012437 64944
+sys/doc/acid.ms - 664 sys sys 1127411211 65062
 sys/doc/acid.ps - 664 sys sys 1015012454 426359
 sys/doc/acidpaper.html - 664 sys sys 1091459045 46880
 sys/doc/acidpaper.ms - 664 sys sys 952880777 44805
@@ -5764,7 +5764,7 @@ sys/games - 20000000775 sys sys 952648872 0
 sys/games/lib - 20000000775 sys sys 952648879 0
 sys/games/lib/4scores - 10000000664 sys sys 1118680448 0
 sys/games/lib/5scores - 10000000664 sys sys 1118680453 0
-sys/games/lib/fortunes - 664 sys sys 1126211316 255804
+sys/games/lib/fortunes - 664 sys sys 1127394114 256007
 sys/games/lib/mahjongg - 20000000775 sys sys 1095792278 0
 sys/games/lib/mahjongg/backgrounds - 20000000775 sys sys 1095792293 0
 sys/games/lib/mahjongg/backgrounds/default.bit - 664 sys sys 1095792293 346803
@@ -6135,7 +6135,7 @@ sys/lib/dist/cmd/touchfs.c - 664 sys sys 1018469727 1120
 sys/lib/dist/cmd/unbflz.c - 664 sys sys 1018469727 1688
 sys/lib/dist/logcompress.awk - 664 sys sys 1068558028 298
 sys/lib/dist/logtime.awk - 664 sys sys 1019526213 38
-sys/lib/dist/mkfile - 664 sys sys 1123094501 3857
+sys/lib/dist/mkfile - 664 sys sys 1127410222 4409
 sys/lib/dist/pc - 20000000775 sys sys 1018721419 0
 sys/lib/dist/pc/cd0.proto - 664 sys sys 1114358485 7
 sys/lib/dist/pc/empty - 20000000775 sys sys 1018469720 0
@@ -6224,12 +6224,12 @@ sys/lib/dist/pc/sub/users - 664 sys sys 1018469726 103
 sys/lib/dist/pc/sub/vmware - 775 sys sys 1033073493 132
 sys/lib/eqnchar - 664 sys sys 944956052 2727
 sys/lib/fax - 20000000775 sys sys 944957096 0
-sys/lib/fax/faxgoose - 775 sys sys 944957083 137
-sys/lib/fax/faxtickle - 775 sys sys 944957083 129
+sys/lib/fax/faxgoose - 775 sys sys 1127394686 132
+sys/lib/fax/faxtickle - 775 sys sys 1127394652 121
 sys/lib/fax/faxtry - 775 sys sys 944957083 95
 sys/lib/fax/h.ps - 664 sys sys 944957083 58462
 sys/lib/fax/header - 664 sys sys 944957096 551
-sys/lib/fax/receiverc - 775 sys sys 1015088450 1118
+sys/lib/fax/receiverc - 775 sys sys 1127394652 1094
 sys/lib/ghostscript - 20000000775 sys sys 1014924544 0
 sys/lib/ghostscript/Fontmap.bak - 664 sys sys 1014924528 17920
 sys/lib/ghostscript/Fontmap.gs - 664 sys sys 1014924528 13604
@@ -7042,7 +7042,7 @@ sys/lib/tmac/tmac.pictures - 664 sys sys 944956203 4320
 sys/lib/tmac/tmac.psychrefs - 664 sys sys 944956203 608
 sys/lib/tmac/tmac.ptx - 664 sys sys 944956203 330
 sys/lib/tmac/tmac.rscover - 664 sys sys 944956203 2070
-sys/lib/tmac/tmac.s - 664 sys sys 1104430314 23029
+sys/lib/tmac/tmac.s - 664 sys sys 1127393909 23027
 sys/lib/tmac/tmac.scover - 664 sys sys 944956204 4616
 sys/lib/tmac/tmac.sdisp - 664 sys sys 944956204 864
 sys/lib/tmac/tmac.skeep - 664 sys sys 944956204 1346
@@ -7592,7 +7592,7 @@ sys/man/4/nfs - 664 sys sys 1049776970 4475
 sys/man/4/nntpfs - 664 sys sys 1032632346 2771
 sys/man/4/paqfs - 664 sys sys 1017723482 1541
 sys/man/4/plumber - 664 sys sys 944959699 2748
-sys/man/4/ramfs - 664 sys sys 1019770716 1333
+sys/man/4/ramfs - 664 sys sys 1127393035 1447
 sys/man/4/ratfs - 664 sys sys 1017423722 3272
 sys/man/4/rdbfs - 664 sys sys 944959699 1123
 sys/man/4/rio - 664 sys sys 1023206844 8660
@@ -7947,7 +7947,7 @@ sys/src/9/pc/etherelnk3.c - 664 sys sys 1081706477 48724
 sys/src/9/pc/etherga620.c - 664 sys sys 1074785126 28754
 sys/src/9/pc/etherga620fw.h - 664 sys sys 1026847642 222295
 sys/src/9/pc/etherif.h - 664 sys sys 1088178711 961
-sys/src/9/pc/etherigbe.c - 664 sys sys 1123445077 44186
+sys/src/9/pc/etherigbe.c - 664 sys sys 1127393123 44412
 sys/src/9/pc/ethermii.c - 664 sys sys 1084331434 4612
 sys/src/9/pc/ethermii.h - 664 sys sys 1086873891 3258
 sys/src/9/pc/etherrhine.c - 664 sys sys 1081706478 13799
@@ -7974,11 +7974,11 @@ sys/src/9/pc/mouse.c - 664 sys sys 1098479254 7057
 sys/src/9/pc/mp.c - 664 sys sys 1123637234 17024
 sys/src/9/pc/mp.h - 664 sys sys 1015014520 6575
 sys/src/9/pc/nv_dma.h - 664 sys sys 1081384508 12943
-sys/src/9/pc/pc - 664 sys sys 1079575705 1367
+sys/src/9/pc/pc - 664 sys sys 1127411319 1408
 sys/src/9/pc/pcauth - 664 sys sys 1073851852 657
 sys/src/9/pc/pccd - 664 sys sys 1091458811 1408
-sys/src/9/pc/pccpu - 664 sys sys 1084475127 806
-sys/src/9/pc/pccpuf - 664 sys sys 1073851852 1315
+sys/src/9/pc/pccpu - 664 sys sys 1127411311 835
+sys/src/9/pc/pccpuf - 664 sys sys 1127411330 1467
 sys/src/9/pc/pcdisk - 664 sys sys 1073851851 1427
 sys/src/9/pc/pcf - 664 sys sys 1104430623 1485
 sys/src/9/pc/pcfl - 664 sys sys 1042004821 1563
@@ -7998,7 +7998,7 @@ sys/src/9/pc/screen.h - 664 sys sys 1060267144 3797
 sys/src/9/pc/sd53c8xx.c - 664 sys sys 1112461125 52220
 sys/src/9/pc/sd53c8xx.i - 664 sys sys 1045063730 27355
 sys/src/9/pc/sd53c8xx.n - 664 sys sys 1032059019 12455
-sys/src/9/pc/sdata.c - 664 sys sys 1126906010 51396
+sys/src/9/pc/sdata.c - 664 sys sys 1127404875 51702
 sys/src/9/pc/sdmylex.c - 664 sys sys 1071245460 27812
 sys/src/9/pc/sdscsi.c - 664 sys sys 1077033661 7487
 sys/src/9/pc/trap.c - 664 sys sys 1123438642 20550
@@ -9253,19 +9253,19 @@ sys/src/cmd/9nfs/unixnames.c - 664 sys sys 1065963574 6006
 sys/src/cmd/9nfs/xfile.c - 664 sys sys 1017337816 1847
 sys/src/cmd/aan.c - 664 sys sys 1019856827 9758
 sys/src/cmd/acid - 20000000775 sys sys 944960739 0
-sys/src/cmd/acid/acid.h - 664 sys sys 1046198958 4354
+sys/src/cmd/acid/acid.h - 664 sys sys 1127393275 4389
 sys/src/cmd/acid/builtin.c - 664 sys sys 1127214825 20156
 sys/src/cmd/acid/dbg.y - 664 sys sys 1081736447 5567
 sys/src/cmd/acid/dot.c - 664 sys sys 944960739 2161
 sys/src/cmd/acid/exec.c - 664 sys sys 1016833876 8187
-sys/src/cmd/acid/expr.c - 664 sys sys 1046198961 15093
+sys/src/cmd/acid/expr.c - 664 sys sys 1127393280 15220
 sys/src/cmd/acid/lex.c - 664 sys sys 1046198960 7861
 sys/src/cmd/acid/list.c - 664 sys sys 944960738 3671
 sys/src/cmd/acid/main.c - 664 sys sys 1046198959 8475
 sys/src/cmd/acid/mkfile - 664 sys sys 1046199006 366
 sys/src/cmd/acid/print.c - 664 sys sys 984756705 6840
 sys/src/cmd/acid/proc.c - 664 sys sys 1119470118 4602
-sys/src/cmd/acid/util.c - 664 sys sys 944960738 4297
+sys/src/cmd/acid/util.c - 664 sys sys 1127393277 4616
 sys/src/cmd/acme - 20000000775 sys sys 969511023 0
 sys/src/cmd/acme/acme.c - 664 sys sys 1104430286 19613
 sys/src/cmd/acme/addr.c - 664 sys sys 1111171698 4805
@@ -9418,7 +9418,7 @@ sys/src/cmd/auth/userpasswd.c - 664 sys sys 1015008432 591
 sys/src/cmd/auth/warning.c - 664 sys sys 1122901749 5303
 sys/src/cmd/auth/wrkey.c - 664 sys sys 1019058717 176
 sys/src/cmd/aux - 20000000775 sys sys 1015008975 0
-sys/src/cmd/aux/9pcon.c - 664 sys sys 1032059259 6283
+sys/src/cmd/aux/9pcon.c - 664 sys sys 1127394247 6284
 sys/src/cmd/aux/accupoint.c - 664 sys sys 985124882 2166
 sys/src/cmd/aux/acidleak.c - 664 sys sys 1126879783 5952
 sys/src/cmd/aux/antiword - 20000000775 sys sys 1069793877 0
@@ -9704,7 +9704,7 @@ sys/src/cmd/cal.c - 664 sys sys 944961619 4206
 sys/src/cmd/calendar.c - 664 sys sys 1116769436 4221
 sys/src/cmd/cat.c - 664 sys sys 1014926693 532
 sys/src/cmd/cb - 20000000775 sys sys 1062860425 0
-sys/src/cmd/cb/cb.c - 664 sys sys 1063039630 18439
+sys/src/cmd/cb/cb.c - 664 sys sys 1127392719 18523
 sys/src/cmd/cb/cb.h - 664 sys sys 1063023989 3404
 sys/src/cmd/cb/cbtype.c - 664 sys sys 1062860425 674
 sys/src/cmd/cb/cbtype.h - 664 sys sys 1062860425 794
@@ -11896,10 +11896,10 @@ sys/src/cmd/idiff.c - 664 sys sys 1014926695 6896
 sys/src/cmd/import.c - 664 sys sys 1122260912 6885
 sys/src/cmd/init.c - 664 sys sys 1121977160 4462
 sys/src/cmd/iostats - 20000000775 sys sys 944962001 0
-sys/src/cmd/iostats/iostats.c - 664 sys sys 1014925727 9691
+sys/src/cmd/iostats/iostats.c - 664 sys sys 1127431876 9669
 sys/src/cmd/iostats/mkfile - 664 sys sys 1014925727 122
-sys/src/cmd/iostats/statfs.h - 664 sys sys 1014925727 2621
-sys/src/cmd/iostats/statsrv.c - 664 sys sys 1055699098 10756
+sys/src/cmd/iostats/statfs.h - 664 sys sys 1127431876 2617
+sys/src/cmd/iostats/statsrv.c - 664 sys sys 1127431876 10745
 sys/src/cmd/ip - 20000000775 sys sys 1015096228 0
 sys/src/cmd/ip/arp.h - 664 sys sys 944961005 751
 sys/src/cmd/ip/dhcp.h - 664 sys sys 1051206271 3368
@@ -12240,12 +12240,12 @@ sys/src/cmd/ndb/cs.c - 664 sys sys 1104854491 33070
 sys/src/cmd/ndb/csgetval.c - 664 sys sys 957402051 1051
 sys/src/cmd/ndb/csquery.c - 664 sys sys 1014926159 1062
 sys/src/cmd/ndb/dblookup.c - 664 sys sys 1123602793 18275
-sys/src/cmd/ndb/dn.c - 664 sys sys 1090409399 26970
+sys/src/cmd/ndb/dn.c - 664 sys sys 1127392642 27986
 sys/src/cmd/ndb/dnarea.c - 664 sys sys 1121977162 2128
 sys/src/cmd/ndb/dnnotify.c - 664 sys sys 1055701929 3062
 sys/src/cmd/ndb/dnresolve.c - 664 sys sys 1079747687 15363
 sys/src/cmd/ndb/dns.c - 664 sys sys 1079747686 15333
-sys/src/cmd/ndb/dns.h - 664 sys sys 1079747686 8980
+sys/src/cmd/ndb/dns.h - 664 sys sys 1127392642 10141
 sys/src/cmd/ndb/dnsdebug.c - 664 sys sys 1079747685 8488
 sys/src/cmd/ndb/dnserver.c - 664 sys sys 1021579994 3687
 sys/src/cmd/ndb/dnsquery.c - 664 sys sys 1120564714 2198
@@ -12668,7 +12668,7 @@ sys/src/cmd/ql/optab.c - 664 sys sys 1089299167 13392
 sys/src/cmd/ql/pass.c - 664 sys sys 1089299168 11868
 sys/src/cmd/ql/sched.c - 664 sys sys 1089299166 12776
 sys/src/cmd/ql/span.c - 664 sys sys 1089299167 19882
-sys/src/cmd/ramfs.c - 664 sys sys 1126005899 15927
+sys/src/cmd/ramfs.c - 664 sys sys 1127393035 15950
 sys/src/cmd/ratfs - 20000000775 sys sys 1016943965 0
 sys/src/cmd/ratfs/ctlfiles.c - 664 sys sys 1016943964 6694
 sys/src/cmd/ratfs/main.c - 664 sys sys 1016943964 6516
@@ -12737,6 +12737,7 @@ sys/src/cmd/rio/xfid.c - 664 sys sys 1103205531 17446
 sys/src/cmd/rm.c - 664 sys sys 1014926615 1563
 sys/src/cmd/rx.c - 664 sys sys 1099760378 4382
 sys/src/cmd/sam - 20000000775 sys sys 944961629 0
+sys/src/cmd/sam/acid.lib - 664 sys sys 1127393265 1536
 sys/src/cmd/sam/address.c - 664 sys sys 944961628 3985
 sys/src/cmd/sam/buff.c - 664 sys sys 1014926937 5161
 sys/src/cmd/sam/cmd.c - 664 sys sys 944961628 10461
@@ -13402,10 +13403,10 @@ sys/src/cmd/upas/send/tryit - 664 sys sys 944961322 584
 sys/src/cmd/upas/smtp - 20000000775 sys sys 988250017 0
 sys/src/cmd/upas/smtp/greylist.c - 664 sys sys 1091126808 6470
 sys/src/cmd/upas/smtp/mkfile - 664 sys sys 1108910002 801
-sys/src/cmd/upas/smtp/mxdial.c - 664 sys sys 1108875334 6251
+sys/src/cmd/upas/smtp/mxdial.c - 664 sys sys 1127394225 6422
 sys/src/cmd/upas/smtp/rfc822.y - 664 sys sys 1064589606 13417
 sys/src/cmd/upas/smtp/rmtdns.c - 664 sys sys 1015013150 1069
-sys/src/cmd/upas/smtp/smtp.c - 664 sys sys 1108827987 20071
+sys/src/cmd/upas/smtp/smtp.c - 664 sys sys 1127394218 20091
 sys/src/cmd/upas/smtp/smtp.h - 664 sys sys 1108827986 1270
 sys/src/cmd/upas/smtp/smtpd.c - 664 sys sys 1120737512 30820
 sys/src/cmd/upas/smtp/smtpd.h - 664 sys sys 1067722781 1111
@@ -13615,7 +13616,7 @@ sys/src/cmd/vnc/vncv.h - 664 sys sys 1044880750 643
 sys/src/cmd/vnc/wsys.c - 664 sys sys 1102429521 4052
 sys/src/cmd/vt - 20000000775 sys sys 954038635 0
 sys/src/cmd/vt/cons.h - 664 sys sys 984718311 1660
-sys/src/cmd/vt/consctl.c - 664 sys sys 952627639 1815
+sys/src/cmd/vt/consctl.c - 664 sys sys 1127425716 1796
 sys/src/cmd/vt/event.c - 664 sys sys 1121977166 1071
 sys/src/cmd/vt/event.h - 664 sys sys 944961620 192
 sys/src/cmd/vt/hp.c - 664 sys sys 984718311 3362
@@ -14884,6 +14885,7 @@ sys/src/libsunrpc/udp.c - 664 sys sys 1050717777 2193
 sys/src/libthread - 20000000775 sys sys 1014928161 0
 sys/src/libthread/386.c - 664 sys sys 1014928156 448
 sys/src/libthread/alpha.c - 664 sys sys 1014928156 664
+sys/src/libthread/amd64.c - 664 sys sys 1127405453 579
 sys/src/libthread/arm.c - 664 sys sys 1014928156 582
 sys/src/libthread/channel.c - 664 sys sys 1045502115 8519
 sys/src/libthread/chanprint.c - 664 sys sys 1014928156 328
@@ -14906,7 +14908,7 @@ sys/src/libthread/kill.c - 664 sys sys 1014928157 1336
 sys/src/libthread/lib.c - 664 sys sys 1014928158 709
 sys/src/libthread/main.c - 664 sys sys 1017679321 3079
 sys/src/libthread/mips.c - 664 sys sys 1014928158 583
-sys/src/libthread/mkfile - 664 sys sys 1044429931 986
+sys/src/libthread/mkfile - 664 sys sys 1127405452 1012
 sys/src/libthread/note.c - 664 sys sys 1055700452 2265
 sys/src/libthread/power.c - 664 sys sys 1014928159 585
 sys/src/libthread/ref.c - 664 sys sys 1014928159 168
@@ -14917,9 +14919,10 @@ sys/src/libthread/threadimpl.h - 664 sys sys 1055700447 4689
 sys/src/libthread/tprimes.c - 664 sys sys 1014928160 798
 sys/src/libthread/xinc386.s - 664 sys sys 1014928160 417
 sys/src/libthread/xincalpha.s - 664 sys sys 1015088758 344
+sys/src/libthread/xincamd64.s - 664 sys sys 1127405454 292
 sys/src/libthread/xincarm.c - 664 sys sys 1014928160 22
 sys/src/libthread/xincmips.s - 664 sys sys 1014928160 674
-sys/src/libthread/xincport.h - 664 sys sys 1014928161 211
+sys/src/libthread/xincport.h - 664 sys sys 1127405405 211
 sys/src/libthread/xincpower.s - 664 sys sys 1048645448 342
 sys/src/libventi - 20000000775 sys sys 947360466 0
 sys/src/libventi/client.c - 664 sys sys 1121977166 5362

+ 52 - 0
dist/replica/plan9.log

@@ -21394,3 +21394,55 @@
 1127360675 54 c 386/lib/libmp.a - 664 sys sys 1127360619 79944
 1127360675 55 c 386/lib/libsec.a - 664 sys sys 1127360621 646908
 1127360675 56 c sys/src/9/port/devmouse.c - 664 sys sys 1127360658 12976
+1127394065 0 c sys/lib/tmac/tmac.s - 664 sys sys 1127393909 23027
+1127394065 1 c sys/man/4/ramfs - 664 sys sys 1127393035 1447
+1127394065 2 c sys/src/9/pc/etherigbe.c - 664 sys sys 1127393123 44412
+1127394065 3 c sys/src/cmd/acid/acid.h - 664 sys sys 1127393275 4389
+1127394065 4 c sys/src/cmd/acid/expr.c - 664 sys sys 1127393280 15220
+1127394065 5 c sys/src/cmd/acid/util.c - 664 sys sys 1127393277 4616
+1127394065 6 c sys/src/cmd/ndb/dn.c - 664 sys sys 1127392642 27986
+1127394065 7 c sys/src/cmd/ndb/dns.h - 664 sys sys 1127392642 10141
+1127394065 8 c sys/src/cmd/ramfs.c - 664 sys sys 1127393035 15950
+1127394065 9 c sys/src/cmd/cb/cb.c - 664 sys sys 1127392719 18523
+1127394065 10 a sys/src/cmd/sam/acid.lib - 664 sys sys 1127393265 1536
+1127395866 0 c mail/lib/pipeto.lib - 664 upas upas 1127394564 3342
+1127395866 1 c rc/bin/C - 775 sys sys 1127395076 855
+1127395866 2 c rc/bin/fax - 775 sys sys 1127394677 2385
+1127395866 3 c sys/games/lib/fortunes - 664 sys sys 1127394114 256007
+1127395866 4 c sys/lib/fax/faxgoose - 775 sys sys 1127394686 132
+1127395866 5 c sys/lib/fax/faxtickle - 775 sys sys 1127394652 121
+1127395866 6 c sys/lib/fax/receiverc - 775 sys sys 1127394652 1094
+1127395866 7 c sys/src/cmd/aux/9pcon.c - 664 sys sys 1127394247 6284
+1127395866 8 c sys/src/cmd/upas/smtp/mxdial.c - 664 sys sys 1127394225 6422
+1127395866 9 c sys/src/cmd/upas/smtp/smtp.c - 664 sys sys 1127394218 20091
+1127395866 10 d mail/lib/smtpd.conf.ext - 664 upas upas 1089299188 0
+1127397667 0 a lib/pci - 664 sys sys 1127397555 192985
+1127397667 1 c rc/bin/pci - 775 sys sys 1127397350 558
+1127399466 0 c lib/pci - 664 sys sys 1127398141 193035
+1127401268 0 c rc/bin/pci - 775 sys sys 1127400818 752
+1127404869 0 c sys/src/9/pc/sdata.c - 664 sys sys 1127404875 51702
+1127406669 0 c 386/lib/libthread.a - 664 sys sys 1127405452 72374
+1127406669 1 a sys/src/libthread/amd64.c - 664 sys sys 1127405453 579
+1127406669 2 c sys/src/libthread/mkfile - 664 sys sys 1127405452 1012
+1127406669 3 a sys/src/libthread/xincamd64.s - 664 sys sys 1127405454 292
+1127406669 4 c sys/src/libthread/xincport.h - 664 sys sys 1127405405 211
+1127410269 0 c rc/bin/troff2gif - 775 sys sys 1127410278 164
+1127410269 1 c sys/lib/dist/mkfile - 664 sys sys 1127410222 4409
+1127412069 0 c sys/doc/acid.ms - 664 sys sys 1127411211 65062
+1127412069 1 c sys/src/9/pc/pc - 664 sys sys 1127411319 1408
+1127412069 2 c sys/src/9/pc/pccpu - 664 sys sys 1127411311 835
+1127412069 3 c sys/src/9/pc/pccpuf - 664 sys sys 1127411330 1467
+1127426473 0 c sys/src/cmd/vt/consctl.c - 664 sys sys 1127425716 1796
+1127431873 0 c sys/src/cmd/iostats/iostats.c - 664 sys sys 1127431876 9669
+1127431873 1 c sys/src/cmd/iostats/statfs.h - 664 sys sys 1127431876 2617
+1127431873 2 c sys/src/cmd/iostats/statsrv.c - 664 sys sys 1127431876 10745
+1127446276 0 c 386/bin/acid - 775 sys sys 1127445048 390487
+1127446276 1 c 386/bin/iostats - 775 sys sys 1127445049 98431
+1127446276 2 c 386/bin/ramfs - 775 sys sys 1127445051 89822
+1127446276 3 c 386/bin/aux/9pcon - 775 sys sys 1127445048 94916
+1127446276 4 c 386/bin/cb - 775 sys sys 1127445048 77589
+1127446276 5 c 386/bin/ndb/dns - 775 sys sys 1127445050 245101
+1127446276 6 c 386/bin/ndb/dnsdebug - 775 sys sys 1127445050 219717
+1127446276 7 c 386/bin/ndb/dnstcp - 775 sys sys 1127445050 218358
+1127446276 8 c 386/bin/upas/smtp - 775 sys sys 1127445051 275242
+1127446276 9 c 386/bin/vt - 775 sys sys 1127445052 173660

File diff suppressed because it is too large
+ 5965 - 0
lib/pci


+ 2 - 2
mail/lib/pipeto.lib

@@ -75,7 +75,7 @@ fn qualify {
 	} >$TMP.msg2 || exit $status
 	mv $TMP.msg2 $TMP.msg || exit $status
 	unmount /mail/fs
-	upas/fs -f $TMP.msg || exit $status
+	upas/fs -pf $TMP.msg || exit $status
 }
 
 # classify message according to token-based white list 
@@ -150,5 +150,5 @@ fn isspam {
 
 # save and parse the mail file
 sed '/^$/,$ s/^From / From /' >$TMP.msg
-upas/fs -f $TMP.msg || exit $status
+upas/fs -pf $TMP.msg || exit $status
 

+ 0 - 36
mail/lib/smtpd.conf.ext

@@ -1,36 +0,0 @@
-#
-#	smtpd configuration options for external gateway
-#	change verifysenderdom & saveblockedmsg when dirty converted
-#
-
-defaultdomain		plan9.bell-labs.com
-norelay			on		#turn off relaying
-verifysenderdom		on		#dns verification of sender domain
-saveblockedmsg		on		#save blocked messages
-
-#
-#	networks that are allowed to relay through us
-#
-ournets		135.104.0.0/16		#mh
-ournets		135.180.0.0/16		#ho
-ournets		204.178.16.5/32		#www.bell-labs.com
-ournets		204.178.16.6/32		#dirty.bell-labs.com
-ournets		204.178.16.43/32	#www1.bell-labs.com
-ournets		204.178.16.49/32	#crufty.research.bell-labs.com
-ournets		204.178.31.0/24		#outside plan 9 machines
-
-ournets		64.36.89.66/32		#rsc, sorry
-
-#
-#	domains that we will accept mail for
-#	these must match the rewrite rules
-#
-
-ourdomains	*.lucent.com, *.bell-labs.com
-ourdomains	[204.178.31.2]		#achille
-ourdomains	ampl.com		#dmg
-ourdomains	*.wavelet.org		#wim
-ourdomains	closedmind.org		#presotto
-ourdomains	huygens.org		#sape
-ourdomains	mullender.nl		#sape
-ourdomains	mdgw.com		#mflaster cliff

+ 13 - 8
rc/bin/C

@@ -16,17 +16,22 @@ while(~ $1 -*)
 	}
 
 switch($1){
+case fs
+	server=edith
+case ella
+	exec C office0
+	exit
 case erika
 	exec C office1
 	exit
-}
-
-# look for server in /lib/ndb
-server=`{ndb/query sys $1 console}
-switch($server){
-case ''
-	echo C: unknown console server for $1
-	exit 1
+case *
+	# look for server in /lib/ndb
+	server=`{ndb/query sys $1 console}
+	switch($server){
+	case ''
+		echo C: unknown console server for $1
+		exit 1
+	}
 }
 
 # can't cpu to old servers any more

+ 1 - 1
rc/bin/fax

@@ -120,7 +120,7 @@ for(i in $header.* $g3files){
 switch($view){
 case no
 	upas/qer $files /mail/faxoutqueue fax $user $telno < /dev/null
-	rx boundary /sys/lib/fax/faxgoose
+	rx fax /sys/lib/fax/faxgoose
 case yes
 	page $header.* $g3files
 }

+ 54 - 1
rc/bin/pci

@@ -1,3 +1,56 @@
 #!/bin/rc
 
-cd '#$/pci' && grep . *ctl | sed 's/ctl:/:	/'
+fn verbose { awk '
+
+	function lower(s) {
+		gsub(/A/, "a", s)
+		gsub(/B/, "b", s)
+		gsub(/C/, "c", s)
+		gsub(/D/, "d", s)
+		gsub(/E/, "e", s)
+		gsub(/F/, "f", s)
+		return s
+	}
+	BEGIN{
+		file="/lib/pci"
+		FS="\t"
+		while(getline <file){
+			if(/^;/) continue
+			if(/^[0-9A-F]/){
+				vid=lower($1)
+				vendor[vid] = $2
+			}
+			if(/^	[0-9]/){
+				did=lower($2)
+				id[vid "/" did] = $3
+			}
+		}
+		FS = " "
+	}
+
+	{
+		print $0
+		vid = $4
+		sub(/\/.*/, "", vid)
+		if(vid in vendor){
+			s = vendor[vid]
+			if($4 in id)
+				s = s " " id[$4]
+			print "\t" s
+		}
+	}
+'
+}
+
+filter=cat
+if(~ $1 -v){
+	filter=verbose
+}
+cd '#$/pci' && grep . *ctl | sed '
+	s/ctl:/:	/
+	s/:	01/:	disk 01/
+	s/:	02/:	net  02/
+	s/:	03/:	vid  03/
+	s/:	([0-9])/:	---  \1/
+' | $filter
+

+ 1 - 1
rc/bin/troff2gif

@@ -1,2 +1,2 @@
 #!/bin/rc
-{/bin/troff|/bin/lp -dstdout|/bin/gs -dNOPAUSE -dQUIET '-sOUTPUTFILE='/fd/1 '-sDEVICE=plan9bm' - quit.ps| crop -c 255 255 255 | togif}  >[2] /dev/null
+{/bin/troff $*|/bin/lp -dstdout|/bin/gs -dNOPAUSE -dQUIET '-sOUTPUTFILE='/fd/1 '-sDEVICE=plan9bm' - quit.ps| crop -c 255 255 255 | togif}  >[2] /dev/null

+ 4 - 2
sys/doc/acid.ms

@@ -807,8 +807,10 @@ If both operands are of either
 .I string
 or
 .I list
-type  then addition is defined as concatenation. Subtraction is undefined for
-these two types.
+type then addition is defined as concatenation. 
+Adding a string and an integer is treated as concatenation
+with the Unicode character corresponding to the integer.
+Subtraction is undefined for strings and lists.
 .DS
 	shift-expression:
 		additive-expression

+ 2 - 0
sys/games/lib/fortunes

@@ -4083,3 +4083,5 @@ There are no network problems with scone, hale and poptart. IT support is workin
 A C, an E-flat, and a G walk into a bar.  The bartender says, "Sorry, but we don't serve minors."
 		exhausted("sleep");
 /// The ForTo class avoids confusing syntax of "for (int i=1;i<=4;i++) {...}". This can be replaced with "foreach (int i in new ForTo(1,4)) {...}".
+Linux is for people who hate Windows.  BSD is for people who love UNIX.
+If plan9 was a village then I'd probably be the village idiot, but it would still be better than living in the city.  - Dave Lukes

+ 15 - 1
sys/lib/dist/mkfile

@@ -109,6 +109,7 @@ rebuild-mail:V:
 		dd=$"date
 		mail -s 'nightly build differences '^$dd 9trouble <checkbuild.out
 	}
+	status=''
 
 scansources-mail:V:
 	dd=`{date}
@@ -123,4 +124,17 @@ worldwritable-mail:V:
 		mail -s 'WRITABLE FILES ON SOURCES '^$dd 9trouble </sys/lib/dist/writable
 	}
 	status=''
-
+	cd /n/sources/plan9; /usr/rsc/bin/$cputype/lsr -t -d /n/sources/plan9 | awk '$2 ~ /[2367][^2367].$/' >/sys/lib/dist/writable
+	if(test -s /sys/lib/dist/writable){
+		dd=`{date}
+		dd=$"date
+		mail -s 'non-group-writable files on sources'^$dd 9trouble </sys/lib/dist/writable
+	}
+	status=''
+	/usr/rsc/bin/$cputype/lsr -t -d /sys /lib | awk '$2 ~ /[2367][^2367].$/' >/sys/lib/dist/writable
+	if(test -s /sys/lib/dist/writable){
+		dd=`{date}
+		dd=$"date
+		mail -s 'non-group-writable files on fs '^$dd 9trouble </sys/lib/dist/writable
+	}
+	status=''

+ 2 - 2
sys/lib/fax/faxgoose

@@ -1,4 +1,4 @@
 #!/bin/rc
-9fs emelie
-bind /n/emelie/mail /mail
+9fs fs
+bind -c /n/fs/mail /mail
 exec upas/runq -t3 /mail/faxoutqueue /sys/lib/fax/faxtry < /dev/null > /dev/null >[2=1] &

+ 2 - 2
sys/lib/fax/faxtickle

@@ -1,4 +1,4 @@
 #!/bin/rc
-9fs emelie
-bind -c /n/emelie/mail/faxoutqueue /mail/faxoutqueue
+9fs fs
+bind -c /n/fs/mail/faxoutqueue /mail/faxoutqueue
 upas/runq -t3 -a /mail/faxoutqueue /sys/lib/fax/faxtry

+ 6 - 6
sys/lib/fax/receiverc

@@ -2,10 +2,10 @@
 spool=/mail/faxqueue
 recipients=/mail/faxqueue/faxrecipients
 
-# run mail as if we're on emelie
-rm /srv/emelie
-9fs emelie
-bind -c /n/emelie/mail/faxqueue /mail/faxqueue
+# run mail as if we're on fs
+rm /srv/fs
+9fs fs
+bind -c /n/fs/mail/faxqueue /mail/faxqueue
 
 #
 # Arguments should be
@@ -43,9 +43,9 @@ case 4
 			case ???
 				ext=$i
 			}
-			cp $spool/$1.$ext /n/emelie/lib/nyt/nyt.$to($i)
+			cp $spool/$1.$ext /n/fs/lib/nyt/nyt.$to($i)
 		}
-		cp $spool/$1.1 /n/emelie/lib/nyt/nyt.$3
+		cp $spool/$1.1 /n/fs/lib/nyt/nyt.$3
 		rm -f $spool/$1.*
 	case *
 		{echo $*; echo FAX: page -w $spool/$1.'*'} | mail `{cat $recipients}

+ 1 - 2
sys/lib/tmac/tmac.s

@@ -827,7 +827,6 @@ Computing Science Technical Report No. \\*(MN
 .
 .de P1
 .nr P1 .4i	\" program indent in .P1
-.nr OI .4i
 .if \\n(.$ .nr P1 \\$1
 .br
 .nr v \\n(.v
@@ -847,7 +846,7 @@ Computing Science Technical Report No. \\*(MN
 .vs \\n(VSp
 .vs \\nvu
 .ft 1
-.in
+.in -\\n(P1u
 .di
 .br
 .sp \\n(DVu

+ 21 - 16
sys/man/4/ramfs

@@ -4,18 +4,16 @@ ramfs  \- memory file system
 .SH SYNOPSIS
 .B ramfs
 [
-.B -i
-]
-[
-.B -s
-]
-[
-.B -p
+.B -Dips
 ]
 [
 .B -m
 .I mountpoint
 ]
+[
+.B -S
+.I srvname
+]
 .SH DESCRIPTION
 .I Ramfs
 starts a process that mounts itself (see
@@ -32,6 +30,10 @@ keeping all files in memory.
 Initially the file tree is empty.
 .PP
 The
+.B -D
+option enables a trace of general debugging messages.
+.PP
+The
 .B -i
 flag tells
 .I ramfs
@@ -43,12 +45,24 @@ as a file server on a remote machine: the file descriptors 0
 and 1 will be the network channel from
 .I ramfs
 to the client machine.
+.PP
+The
+.B -p
+flag causes
+.I ramfs
+to make its memory `private'
+(see
+.IR proc (3))
+so that its files are not accessible through the debugging interface.
+.PP
 The
 .B -s
+.RB ( -S )
 flag causes
 .I ramfs
 to post its channel on
 .B /srv/ramfs
+.RB ( /srv/ \fIsrvname\fR)
 rather than mounting it on
 .IR mountpoint ,
 enabling multiple clients to access its files.
@@ -56,15 +70,6 @@ However, it does not authenticate its clients and its
 implementation of groups is simplistic, so
 it should not be used for precious data.
 .PP
-The
-.B -p
-flag causes
-.I ramfs
-to make its memory `private'
-(see
-.IR proc (3))
-so that its files are not accessible through the debugging interface.
-.PP
 This program is useful mainly as an example of how
 to write a user-level file server.
 It can also be used to provide high-performance temporary files.

+ 10 - 0
sys/src/9/pc/etherigbe.c

@@ -35,6 +35,7 @@ enum {
 	i82547ei   	= (0x1019<<16)|0x8086,
 	i82540em   	= (0x100E<<16)|0x8086,
 	i82540eplp 	= (0x101E<<16)|0x8086,
+	i82545gmc	= (0x1026<<16)|0x8086,
 	i82547gi   	= (0x1075<<16)|0x8086,
 	i82541gi   	= (0x1076<<16)|0x8086,
 	i82546gb   	= (0x1079<<16)|0x8086,
@@ -44,6 +45,7 @@ enum {
 
 enum {
 	Ctrl		= 0x00000000,	/* Device Control */
+	Ctrldup		= 0x00000004,	/* Device Control Duplicate */
 	Status		= 0x00000008,	/* Device Status */
 	Eecd		= 0x00000010,	/* EEPROM/Flash Control/Data */
 	Ctrlext		= 0x00000018,	/* Extended Device Control */
@@ -880,6 +882,7 @@ igbetxinit(Ctlr* ctlr)
 	case i82540eplp:
 	case i82541gi:
 	case i82541pi:
+	case i82545gmc:
 	case i82546gb:
 	case i82546eb:
 	case i82547gi:
@@ -916,6 +919,7 @@ igbetxinit(Ctlr* ctlr)
 	case i82540em:
 	case i82540eplp:
 	case i82547gi:
+	case i82545gmc:
 	case i82546gb:
 	case i82546eb:
 	case i82541gi:
@@ -1049,6 +1053,7 @@ igberxinit(Ctlr* ctlr)
 	case i82540eplp:
 	case i82541gi:
 	case i82541pi:
+	case i82545gmc:
 	case i82546gb:
 	case i82546eb:
 	case i82547gi:
@@ -1444,6 +1449,7 @@ igbemii(Ctlr* ctlr)
 	case i82547gi:
 	case i82541gi:
 	case i82541pi:
+	case i82545gmc:
 	case i82546gb:
 	case i82546eb:
 		ctrl &= ~(Frcdplx|Frcspd);
@@ -1475,6 +1481,7 @@ igbemii(Ctlr* ctlr)
 	case i82547gi:
 	case i82541gi:
 	case i82541pi:
+	case i82545gmc:
 	case i82546gb:
 	case i82546eb:
 		break;
@@ -1607,6 +1614,7 @@ at93c46r(Ctlr* ctlr)
 	case i82541gi:
 	case i82541pi:
 	case i82547gi:
+	case i82545gmc:
 	case i82546gb:
 	case i82546eb:
 		areq = 1;
@@ -1690,6 +1698,7 @@ igbedetach(Ctlr* ctlr)
 	case i82541gi:
 	case i82541pi:
 	case i82547gi:
+	case i82545gmc:
 	case i82546gb:
 	case i82546eb:
 		r = csr32r(ctlr, Manc);
@@ -1859,6 +1868,7 @@ igbepci(void)
 		case i82547gi:
 		case i82541gi:
 		case i82541pi:
+		case i82545gmc:
 		case i82546gb:
 		case i82546eb:
 			break;

+ 5 - 2
sys/src/9/pc/pc

@@ -43,7 +43,8 @@ link
 	ether589	etherelnk3
 	ether79c970	pci
 	ether8003	ether8390
-	ether8139
+	ether8139	pci
+	ether8169	pci ethermii
 	ether82543gc	pci
 	ether82557	pci
 	ether83815	pci
@@ -65,11 +66,12 @@ misc
 	archmp		mp apic
 
 	sdata		pci sdscsi
-	sd53c8xx		pci sdscsi
+	sd53c8xx	pci sdscsi
 	sdmylex		pci sdscsi
 
 	uarti8250
 	uartpci		pci
+	uartisa
 
 	vga3dfx		+cur
 	vgaark2000pv	+cur
@@ -100,6 +102,7 @@ ip
 	ipifc
 	icmp
 	icmp6
+	gre
 
 port
 	int cpuserver = 0;

+ 2 - 0
sys/src/9/pc/pccpu

@@ -25,6 +25,7 @@ dev
 	floppy		dma
 
 	uart
+	usb
 
 link
 	ether2000	ether8390
@@ -32,6 +33,7 @@ link
 	ether79c970	pci
 	ether8003	ether8390
 	ether8139	pci
+	ether8169	pci ethermii
 	ether82543gc	pci
 	ether82557	pci
 	ether83815	pci

+ 7 - 0
sys/src/9/pc/pccpuf

@@ -32,19 +32,26 @@ dev
 	usb
 
 link
+	devpccard
+	devi82365
 	ether2000	ether8390
 	ether2114x	pci
+	ether589	etherelnk3
 	ether79c970	pci
 	ether8003	ether8390
 	ether8139	pci
+	ether8169	pci ethermii
 	ether82543gc	pci
 	ether82557	pci
 	ether83815	pci
+	etherec2t	ether8390
 	etherelnk3	pci
 	etherga620	pci
 	etherigbe	pci ethermii
 	etherrhine	pci ethermii
 	ethersink
+	ethersmc	devi82365 cis
+	etherwavelan	wavelan devi82365 cis pci
 	ethermedium
 	netdevmedium
 	loopbackmedium

+ 6 - 0
sys/src/9/pc/sdata.c

@@ -1909,7 +1909,13 @@ atapnp(void)
 			 * This can probably be lumped in with the 768 above.
 			 */
 			/*FALLTHROUGH*/
+		case (0x01BC<<16)|0x10DE:	/* nVidia nForce1 */
+		case (0x0065<<16)|0x10DE:	/* nVidia nForce2 */
+		case (0x0085<<16)|0x10DE:	/* nVidia nForce2 MCP */
 		case (0x00D5<<16)|0x10DE:	/* nVidia nForce3 */
+		case (0x00E5<<16)|0x10DE:	/* nVidia nForce3 Pro */
+		case (0x0035<<16)|0x10DE:	/* nVidia nForce3 MCP */
+		case (0x0053<<16)|0x10DE:	/* nVidia nForce4 */
 			/*
 			 * Ditto, although it may have a different base
 			 * address for the registers (0x50?).

+ 1 - 0
sys/src/cmd/acid/acid.h

@@ -232,6 +232,7 @@ String	*runenode(Rune*);
 int	scmp(String*, String*);
 void	sproc(int);
 String*	stradd(String*, String*);
+String*	straddrune(String*, Rune);
 String*	strnode(char*);
 String*	strnodlen(char*, int);
 char*	system(void);

+ 6 - 0
sys/src/cmd/acid/expr.c

@@ -362,6 +362,12 @@ oadd(Node *n, Node *res)
 			res->string = stradd(l.string, r.string); 
 			break;
 		}
+		if(r.type == TINT) {
+			res->type = TSTRING;
+			res->fmt = 's';
+			res->string = straddrune(l.string, r.ival);
+			break;
+		}
 		error("bad rhs for +");
 	case TLIST:
 		res->type = TLIST;

+ 18 - 0
sys/src/cmd/acid/util.c

@@ -267,6 +267,24 @@ stradd(String *l, String *r)
 	return s;
 }
 
+String*
+straddrune(String *l, Rune r)
+{
+	int len;
+	String *s;
+
+	len = l->len+runelen(r);
+	s = gmalloc(sizeof(String)+len+1);
+	s->gclink = gcl;
+	gcl = s;
+	s->len = len;
+	s->string = (char*)s+sizeof(String);
+	memmove(s->string, l->string, l->len);
+	runetochar(s->string+l->len, &r);
+	s->string[s->len] = 0;
+	return s;
+}
+
 int
 scmp(String *sr, String *sl)
 {

+ 1 - 1
sys/src/cmd/aux/9pcon.c

@@ -127,7 +127,7 @@ tcreate(Fcall *f, int, char **argv)
 {
 	f->fid = atoi(argv[0]);
 	f->name = argv[1];
-	f->perm = strtol(argv[2], 0, 8);
+	f->perm = strtoul(argv[2], 0, 8);
 	f->mode = atoi(argv[3]);
 	return nil;
 }

+ 6 - 1
sys/src/cmd/cb/cb.c

@@ -466,6 +466,11 @@ work(void){
 			gotop(c);
 			continue;
 		case ':':
+			if ((cc = getch()) == ':') {
+				putch(c,NO);
+				putch(cc,NO);
+				continue;
+			}
 			if (question == 1){
 				question = 0;
 				gotop(c);
@@ -796,7 +801,7 @@ outs(int n){
 			lbegin = 0;
 			if (split == 1){
 				split = 0;
-				if (clev->tabs > 0)Bprint(output, "    ");
+				if (clev->tabs > 0)Bprint(output, "\t");
 			}
 		}
 		*p = '\0';

+ 10 - 16
sys/src/cmd/iostats/iostats.c

@@ -144,7 +144,7 @@ main(int argc, char **argv)
 	stats->rpc[Twstat].name = "wstat";
 
 	for(n = 0; n < Maxrpc; n++)
-		stats->rpc[n].loms = 10000000;
+		stats->rpc[n].lo = 10000000000LL;
 
 	fmtinstall('F', fcallfmt);
 
@@ -191,10 +191,10 @@ main(int argc, char **argv)
 		postnote(PNPROC, m->pid, "kill");
 
 	rpc = &stats->rpc[Tread];
-	brpsec = (float)stats->totread / (((float)rpc->time/1000.0)+.000001);
+	brpsec = (float)stats->totread / (((float)rpc->time/1e9)+.000001);
 
 	rpc = &stats->rpc[Twrite];
-	bwpsec = (float)stats->totwrite / (((float)rpc->time/1000.0)+.000001);
+	bwpsec = (float)stats->totwrite / (((float)rpc->time/1e9)+.000001);
 
 	ttime = 0;
 	for(n = 0; n < Maxrpc; n++) {
@@ -204,27 +204,27 @@ main(int argc, char **argv)
 		ttime += rpc->time;
 	}
 
-	bppsec = (float)stats->nproto / ((ttime/1000.0)+.000001);
+	bppsec = (float)stats->nproto / ((ttime/1e9)+.000001);
 
 	fprint(2, "\nread      %lud bytes, %g Kb/sec\n", stats->totread, brpsec/1024.0);
 	fprint(2, "write     %lud bytes, %g Kb/sec\n", stats->totwrite, bwpsec/1024.0);
 	fprint(2, "protocol  %lud bytes, %g Kb/sec\n", stats->nproto, bppsec/1024.0);
 	fprint(2, "rpc       %lud count\n\n", stats->nrpc);
 
-	fprint(2, "%-10s %5s %5s %5s %5s %5s          in      out\n", 
+	fprint(2, "%-10s %5s %5s %5s %5s %5s          T       R\n", 
 	      "Message", "Count", "Low", "High", "Time", "Averg");
 
 	for(n = 0; n < Maxrpc; n++) {
 		rpc = &stats->rpc[n];
 		if(rpc->count == 0)
 			continue;
-		fprint(2, "%-10s %5lud %5lud %5lud %5lud %5lud ms %8lud %8lud bytes\n", 
+		fprint(2, "%-10s %5lud %5llud %5llud %5llud %5llud ms %8lud %8lud bytes\n", 
 			rpc->name, 
 			rpc->count,
-			rpc->loms,
-			rpc->hims,
-			rpc->time,
-			rpc->time/rpc->count,
+			rpc->lo/1000000,
+			rpc->hi/1000000,
+			rpc->time/1000000,
+			rpc->time/1000000/rpc->count,
 			rpc->bin,
 			rpc->bout);
 	}
@@ -526,12 +526,6 @@ catcher(void *a, char *msg)
 	noted(NDFLT);
 }
 
-ulong
-msec(void)
-{
-	return nsec()/1000000;
-}
-
 void
 fidreport(Fid *f)
 {

+ 3 - 3
sys/src/cmd/iostats/statfs.h

@@ -37,9 +37,9 @@ struct Rpc
 {
 	char	*name;
 	ulong	count;
-	ulong	time;
-	ulong	loms;
-	ulong	hims;
+	vlong	time;
+	vlong	lo;
+	vlong	hi;
 	ulong	bin;
 	ulong	bout;
 };

+ 33 - 33
sys/src/cmd/iostats/statsrv.c

@@ -32,29 +32,29 @@ okfile(char *s, int mode)
 }
 
 void
-update(Rpc *rpc, ulong t)
+update(Rpc *rpc, vlong t)
 {
-	ulong t2;
+	vlong t2;
 
-	t2 = msec();
-	t -= t2;
-	if((long)t < 0)
+	t2 = nsec();
+	t = t2 - t;
+	if(t < 0)
 		t = 0;
 
 	rpc->time += t;
-	if(t < rpc->loms)
-		rpc->loms = t;
-	if(t > rpc->hims)
-		rpc->hims = t;
+	if(t < rpc->lo)
+		rpc->lo = t;
+	if(t > rpc->hi)
+		rpc->hi = t;
 }
 
 void
 Xversion(Fsrpc *r)
 {
 	Fcall thdr;
-	ulong t;
+	vlong t;
 
-	t = msec();
+	t = nsec();
 
 	if(r->work.msize > IOHDRSZ+Maxfdata)
 		thdr.msize = IOHDRSZ+Maxfdata;
@@ -78,9 +78,9 @@ void
 Xauth(Fsrpc *r)
 {
 	Fcall thdr;
-	ulong t;
+	vlong t;
 
-	t = msec();
+	t = nsec();
 
 	reply(&r->work, &thdr, Enoauth);
 	r->busy = 0;
@@ -120,9 +120,9 @@ Xattach(Fsrpc *r)
 {
 	Fcall thdr;
 	Fid *f;
-	ulong t;
+	vlong t;
 
-	t = msec();
+	t = nsec();
 
 	f = newfid(r->work.fid);
 	if(f == 0) {
@@ -146,10 +146,10 @@ Xwalk(Fsrpc *r)
 	Fcall thdr;
 	Fid *f, *n;
 	File *nf;
-	ulong t;
+	vlong t;
 	int i;
 
-	t = msec();
+	t = nsec();
 
 	f = getfid(r->work.fid);
 	if(f == 0) {
@@ -217,10 +217,10 @@ Xclunk(Fsrpc *r)
 {
 	Fcall thdr;
 	Fid *f;
-	ulong t;
+	vlong t;
 	int fid;
 
-	t = msec();
+	t = nsec();
 
 	f = getfid(r->work.fid);
 	if(f == 0) {
@@ -252,9 +252,9 @@ Xstat(Fsrpc *r)
 	Fcall thdr;
 	Fid *f;
 	int s;
-	ulong t;
+	vlong t;
 
-	t = msec();
+	t = nsec();
 
 	f = getfid(r->work.fid);
 	if(f == 0) {
@@ -296,9 +296,9 @@ Xcreate(Fsrpc *r)
 	Fcall thdr;
 	Fid *f;
 	File *nf;
-	ulong t;
+	vlong t;
 
-	t = msec();
+	t = nsec();
 
 	f = getfid(r->work.fid);
 	if(f == 0) {
@@ -342,9 +342,9 @@ Xremove(Fsrpc *r)
 	char err[ERRMAX], path[128];
 	Fcall thdr;
 	Fid *f;
-	ulong t;
+	vlong t;
 
-	t = msec();
+	t = nsec();
 
 	f = getfid(r->work.fid);
 	if(f == 0) {
@@ -381,9 +381,9 @@ Xwstat(Fsrpc *r)
 	Fcall thdr;
 	Fid *f;
 	int s;
-	ulong t;
+	vlong t;
 
-	t = msec();
+	t = nsec();
 
 	f = getfid(r->work.fid);
 	if(f == 0) {
@@ -502,11 +502,11 @@ slaveopen(Fsrpc *p)
 	char err[ERRMAX], path[128];
 	Fcall *work, thdr;
 	Fid *f;
-	ulong t;
+	vlong t;
 
 	work = &p->work;
 
-	t = msec();
+	t = nsec();
 
 	f = getfid(work->fid);
 	if(f == 0) {
@@ -556,11 +556,11 @@ slaveread(Fsrpc *p)
 	Fcall *work, thdr;
 	Fid *f;
 	int n, r;
-	ulong t;
+	vlong t;
 
 	work = &p->work;
 
-	t = msec();
+	t = nsec();
 
 	f = getfid(work->fid);
 	if(f == 0) {
@@ -618,11 +618,11 @@ slavewrite(Fsrpc *p)
 	Fcall *work, thdr;
 	Fid *f;
 	int n;
-	ulong t;
+	vlong t;
 
 	work = &p->work;
 
-	t = msec();
+	t = nsec();
 
 	f = getfid(work->fid);
 	if(f == 0) {

+ 52 - 3
sys/src/cmd/ndb/dn.c

@@ -42,12 +42,48 @@ char *rrtname[] =
 [Tmx]		"mx",
 [Ttxt]		"txt",
 [Trp]		"rp",
-[Tkey]		"key",
-[Tcert]		"cert",
+[Tafsdb]	"afsdb",
+[Tx25]		"x.25",
+[Tisdn]		"isdn",
+[Trt]		"rt",
+[Tnsap]		"nsap",
+[Tnsapptr]	"nsap-ptr",
 [Tsig]		"sig",
+[Tkey]		"key",
+[Tpx]		"px",
+[Tgpos]		"gpos",
 [Taaaa]		"ipv6",
+[Tloc]		"loc",
+[Tnxt]		"nxt",
+[Teid]		"eid",
+[Tnimloc]	"nimrod",
+[Tsrv]		"srv",
+[Tatma]		"atma",
+[Tnaptr]	"naptr",
+[Tkx]		"kx",
+[Tcert]		"cert",
+[Ta6]		"a6",
+[Tdname]	"dname",
+[Tsink]		"sink",
+[Topt]		"opt",
+[Tapl]		"apl",
+[Tds]		"ds",
+[Tsshfp]	"sshfp",
+[Tipseckey]	"ipseckey",
+[Trrsig]	"rrsig",
+[Tnsec]		"nsec",
+[Tdnskey]	"dnskey",
+[Tspf]		"spf",
+[Tuinfo]	"uinfo",
+[Tuid]		"uid",
+[Tgid]		"gid",
+[Tunspec]	"unspec",
+[Ttkey]		"tkey",
+[Ttsig]		"tsig",
 [Tixfr]		"ixfr",
 [Taxfr]		"axfr",
+[Tmailb]	"mailb",
+[Tmaila]	"maila",
 [Tall]		"all",
 		0,
 };
@@ -61,14 +97,27 @@ char *rname[Rmask+1] =
 [Rname]			"bad name",
 [Runimplimented]	"unimplemented",
 [Rrefused]		"we don't like you",
+[Ryxdomain]		"name should not exist",
+[Ryxrrset]		"rr set should not exist",
+[Rnxrrset]		"rr set should exist",
+[Rnotauth]		"not authorative",
+[Rnotzone]		"not in zone",
+[Rbadvers]		"bad opt version",
+/* [Rbadsig]		"bad signature", */
+[Rbadkey]		"bad key",
+[Rbadtime]		"bad signature time",
+[Rbadmode]		"bad mode",
+[Rbadname]		"duplicate key name",
+[Rbadalg]		"bad algorithm",
 };
 
 /* names of op codes */
 char *opname[] =
 {
 [Oquery]	"query",
-[Oinverse]	"inverse",
+[Oinverse]	"inverse query (retired)",
 [Ostatus]	"status",
+[Oupdate]	"update",
 };
 
 Lock	dnlock;

+ 74 - 25
sys/src/cmd/ndb/dns.h

@@ -2,33 +2,69 @@ typedef struct Ndbtuple Ndbtuple;
 
 enum
 {
-	/* RR types */
-	Ta=	1,
-	Tns=	2,
-	Tmd=	3,
-	Tmf=	4,
-	Tcname=	5,
-	Tsoa=	6,
-	Tmb=	7,
-	Tmg=	8,
-	Tmr=	9,
-	Tnull=	10,
-	Twks=	11,
-	Tptr=	12,
-	Thinfo=	13,
-	Tminfo=	14,
-	Tmx=	15,
-	Ttxt=	16,
-	Trp=	17,
-	Tsig=	24,
-	Tkey=	25,
-	Taaaa=	28,
-	Tcert=	37,
+	/* RR types; see: http://www.iana.org/assignments/dns-parameters */
+	Ta=			1,
+	Tns=		2,
+	Tmd=		3,
+	Tmf=		4,
+	Tcname=		5,
+	Tsoa=		6,
+	Tmb=		7,
+	Tmg=		8,
+	Tmr=		9,
+	Tnull=		10,
+	Twks=		11,
+	Tptr=		12,
+	Thinfo=		13,
+	Tminfo=		14,
+	Tmx=		15,
+	Ttxt=		16,
+	Trp=		17,
+	Tafsdb=		18,
+	Tx25=		19,
+	Tisdn=		20,
+	Trt=		21,
+	Tnsap=		22,
+	Tnsapptr=	23,
+	Tsig=		24,
+	Tkey=		25,
+	Tpx=		26,
+	Tgpos=		27,
+	Taaaa=		28,
+	Tloc=		29,
+	Tnxt=		30,
+	Teid=		31,
+	Tnimloc=	32,
+	Tsrv=		33,
+	Tatma=		34,
+	Tnaptr=		35,
+	Tkx=		36,
+	Tcert=		37,
+	Ta6=		38,
+	Tdname=		39,
+	Tsink=		40,
+	Topt=		41,
+	Tapl=		42,
+	Tds=		43,
+	Tsshfp=		44,
+	Tipseckey=	45,
+	Trrsig=		46,
+	Tnsec=		47,
+	Tdnskey=	48,
+
+	Tspf=		99,
+	Tuinfo=		100,
+	Tuid=		101,
+	Tgid=		102,
+	Tunspec=	103,
 
 	/* query types (all RR types are also queries) */
+	Ttkey=	249,	/* transaction key */
+	Ttsig=	250,	/* transaction signature */
 	Tixfr=	251,	/* incremental zone transfer */
 	Taxfr=	252,	/* zone transfer */
 	Tmailb=	253,	/* { Tmb, Tmg, Tmr } */	
+	Tmaila= 254,	/* obsolete */
 	Tall=	255,	/* all records */
 
 	/* classes */
@@ -43,9 +79,10 @@ enum
 
 	/* opcodes */
 	Oquery=		0<<11,		/* normal query */
-	Oinverse=	1<<11,		/* inverse query */
+	Oinverse=	1<<11,		/* inverse query (retired) */
 	Ostatus=	2<<11,		/* status request */
 	Onotify=	4<<11,		/* notify slaves of updates */
+	Oupdate=	5<<11,
 	Omask=		0xf<<11,	/* mask for opcode */
 
 	/* response codes */
@@ -55,8 +92,20 @@ enum
 	Rname=		3,	/* bad name */
 	Runimplimented=	4,	/* unimplemented */
 	Rrefused=	5,	/* we don't like you */
-	Rmask=		0xf,	/* mask for response */
-	Rtimeout=	0x10,	/* timeout sending (for internal use only) */
+	Ryxdomain=	6,	/* name exists when it should not */
+	Ryxrrset=	7,	/* rr set exists when it should not */
+	Rnxrrset=	8,	/* rr set that should exist does not */
+	Rnotauth=	9,	/* not authoritative */
+	Rnotzone=	10,	/* name not in zone */
+	Rbadvers=	16,	/* bad opt version */
+/*	Rbadsig=	16, */	/* also tsig signature failure */
+	Rbadkey=	17,		/* key not recognized */
+	Rbadtime=	18,		/* signature out of time window */
+	Rbadmode=	19,		/* bad tkey mode */
+	Rbadname=	20,		/* duplicate key name */
+	Rbadalg=	21,		/* algorithm not supported */
+	Rmask=		0x1f,	/* mask for response */
+	Rtimeout=	0x20,	/* timeout sending (for internal use only) */
 
 	/* bits in flag word (other than opcode and response) */
 	Fresp=		1<<15,	/* message is a response */

+ 2 - 2
sys/src/cmd/ramfs.c

@@ -172,7 +172,7 @@ main(int argc, char *argv[])
 		defmnt = 0;
 		break;
 	case 'm':
-		defmnt = ARGF();
+		defmnt = EARGF(usage());
 		break;
 	case 'p':
 		private++;
@@ -887,6 +887,6 @@ estrdup(char *q)
 void
 usage(void)
 {
-	fprint(2, "usage: %s [-is] [-m mountpoint]\n", argv0);
+	fprint(2, "usage: %s [-Dips] [-m mountpoint] [-S srvname]\n", argv0);
 	exits("usage");
 }

+ 104 - 0
sys/src/cmd/sam/acid.lib

@@ -0,0 +1,104 @@
+defn saminit()
+{
+	if !access("/sys/src/cmd/sam/cmd.acid") then
+		rc("cd /sys/src/cmd/sam && mk cmd.acid");
+	include("/sys/src/cmd/sam/cmd.acid");
+}
+
+defn printrunestring(addr, len)
+{
+	loop 1,len do {
+		print(*(addr\r));
+		addr = addr+2;
+	}
+}
+
+defn runestring(addr, len)
+{
+	local s;
+	
+	s = "";
+	loop 1,len do {
+		s = s + *(addr\r);
+		addr = addr+2;
+	}
+	return s;
+}
+
+defn string(s)
+{
+	complex String s;
+	return runestring(s.s, s.n);
+}
+
+defn filemenu(f)
+{
+	complex File f;
+	local s;
+	
+	s = "";
+	if f != *cmd then {
+		if f.mod then
+			s = s + "'";
+		else 
+			s = s + " ";
+		if f.rasp != 0 then
+			s = s + "+";
+		else
+			s = s + "-";
+		if f == *curfile then
+			s = s + ".";
+		else
+			s = s + " ";
+		s = s + " ";
+	}
+	s = s + string(f.name);
+	print("file(", f\X, ") // ", s, "\n");
+}
+
+defn files()
+{
+	local i, f;
+	
+	i = 0;
+	tempfile = (List)tempfile;
+	if tempfile.nused == 0 then
+		filemenu(*cmd);
+	loop 1,tempfile.nused do {
+		f = (File)tempfile.g.filep[i];
+		filemenu(f);
+		i = i+1;
+	}
+}
+
+defn range(r)
+{
+	complex Range r;
+	
+	if r.p1 == r.p2 then
+		return itoa(r.p1, "#%d");
+	return itoa(r.p1, "#%d")+"-"+itoa(r.p2, "#%d");
+}
+
+defn file(f)
+{
+	complex File f;
+	
+	filemenu(f);
+	print("\t$=#", f.nc\D, " .=", range(f.dot.r), " buffer(", f\X, ")\n");
+	if f == *cmd then {
+		print("\tcmdpt=#", *cmdpt\D, " cmdptadv=#", *cmdptadv\D, "\n");
+	}
+}
+
+defn buffer(b)
+{
+	complex Buffer b;
+	
+	print("buffer(", b\X, "): c=", b.c\X, " nc=", b.nc\D, "\n");
+	print("cache: ==(");
+	print(runestring(b.c, b.nc));
+	print(")==\n");
+}
+
+print("/sys/lib/acid/sam");

+ 12 - 0
sys/src/cmd/upas/smtp/mxdial.c

@@ -48,6 +48,14 @@ mxdial(char *addr, char *ddomain, char *gdomain)
 	return fd;
 }
 
+static int
+timeout(void *x, char *msg)
+{
+	if(strstr(msg, "alarm"))
+		return 1;
+	return 0;
+}
+
 /*
  *  take an address and return all the mx entries for it,
  *  most preferred first
@@ -90,7 +98,11 @@ callmx(DS *ds, char *dest, char *domain)
 			mx[i].host, ds->service);
 		if(debug)
 			fprint(2, "mxdial trying %s\n", addr);
+		atnotify(timeout, 1);
+		alarm(10*1000);
 		fd = dial(addr, 0, 0, 0);
+		alarm(0);
+		atnotify(timeout, 0);
 		if(fd >= 0)
 			return fd;
 	}

+ 4 - 4
sys/src/cmd/upas/smtp/smtp.c

@@ -198,12 +198,12 @@ main(int argc, char **argv)
 		exits(0);
 	}
 
-	/* 10 minutes to get through the initial handshake */
-	atnotify(timeout, 1);
-
-	alarm(10*alarmscale);
+	/* mxdial uses its own timeout handler */
 	if((rv = connect(addr)) != 0)
 		exits(rv);
+
+	/* 10 minutes to get through the initial handshake */
+	atnotify(timeout, 1);
 	alarm(10*alarmscale);
 	if((rv = hello(hellodomain, 0)) != 0)
 		goto error;

+ 6 - 5
sys/src/cmd/vt/consctl.c

@@ -10,15 +10,16 @@
 static void*
 share(int len)
 {
-	ulong vastart;
+	uchar *vastart;
 
-	vastart = ((ulong)sbrk(0)) + 2*1024*1024;
+	vastart = sbrk(0);
+	vastart += 2*1024*1024;
 
-	if(segattach(0, "shared", (void *)vastart, len) < 0)
+	if(segattach(0, "shared", vastart, len) < 0)
 		return 0;
-	memset((void*)vastart, 0, len);
+	memset(vastart, 0, len);
 
-	return (void*)vastart;
+	return vastart;
 }
 
 /*

+ 26 - 0
sys/src/libthread/amd64.c

@@ -0,0 +1,26 @@
+#include <u.h>
+#include <libc.h>
+#include <thread.h>
+#include "threadimpl.h"
+
+/* first argument goes in a register; simplest just to ignore it */
+static void
+launcheramd64(int, void (*f)(void *arg), void *arg)
+{
+	(*f)(arg);
+	threadexits(nil);
+}
+
+void
+_threadinitstack(Thread *t, void (*f)(void*), void *arg)
+{
+	uvlong *tos;
+
+	tos = (uvlong*)&t->stk[t->stksize&~7];
+	*--tos = (uvlong)arg;
+	*--tos = (uvlong)f;
+	*--tos = 0;	/* first arg to launcheramd64 */
+	t->sched[JMPBUFPC] = (uvlong)launcheramd64+JMPBUFDPC;
+	t->sched[JMPBUFSP] = (uvlong)tos - 2*8;		/* old PC and new PC */
+}
+

+ 4 - 2
sys/src/libthread/mkfile

@@ -32,6 +32,7 @@ OFILES=\
 CFILES=\
 	386.c\
 	alpha.c\
+	amd64.c\
 	arm.c\
 	channel.c\
 	chanprint.c\
@@ -61,12 +62,13 @@ CFILES=\
 	test.c\
 	tprimes.c\
 	xincarm.c\
-	xincpower.c
 
 SFILES=\
 	xinc386.s\
 	xincalpha.s\
-	xincmips.s
+	xincamd64.s\
+	xincmips.s\
+	xincpower.s\
 
 HFILES=\
 	/sys/include/thread.h\

+ 20 - 0
sys/src/libthread/xincamd64.s

@@ -0,0 +1,20 @@
+/*TEXT	xadd(SB),$0	/* long xadd(long *, long); */
+
+/*	MOVL	i+8(FP),AX
+/*	LOCK
+/*	XADDL	AX, (RARG)
+/*	RET
+*/
+
+TEXT	_xinc(SB),$0	/* void _xinc(long *); */
+
+	LOCK; INCL	0(RARG)
+	RET
+
+TEXT	_xdec(SB),$0	/* long _xdec(long *); */
+
+	MOVL	$0, AX
+	MOVL	$1, BX
+	LOCK; DECL	0(RARG)
+	CMOVLNE	BX, AX
+	RET

+ 4 - 2
sys/src/libthread/xincport.h

@@ -5,7 +5,8 @@
 static Lock l;
 
 void
-_xinc(long *p) {
+_xinc(long *p)
+{
 
 	lock(&l);
 	(*p)++;
@@ -13,7 +14,8 @@ _xinc(long *p) {
 }
 
 long
-_xdec(long *p) {
+_xdec(long *p)
+{
 	long r;
 
 	lock(&l);