Commits


9pserve: add -n flag to reject auth by clients


9pserve: delete from correct hash slot (fix infinite loop)


9pserve: fix a new race involving assert(c->nmsg == 0). Just like outputthread can have processed the message but not yet called msgput, the same is true of the connoutthread, so we cannot check c->nmsg until after the connoutthread has shut down gracefully.


9pserve: fix races causing assert(c->nmsg == 0) to fail. 1. Could happen that connoutthread sends c->outq a nil just before the regular input handler sends c->outq a real message. When the connoutthread gets the nil it will free c->outq, leaving the real message unprocessed. 2. Could happen that the outputthread writes a message body to the remote 9P server and then a response comes in and then the connection gets torn down, all before the outputthread manages to call msgput(m). Thanks to David Swasey for identifying this scenario. Also change yield() loop into explicit communication. Also remove dead code involving hungup queues.


ignore window resize; should be elsewhere


use same name that srv.c does


paranoia about extension


paranoia about extension


darwin


Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.


change Tcreate message in 9P2000.u


fix offsets


9P2000.u fixes (Lucho Ionkov)


x11, used, etc.


Signedness.