Commit Briefs

9b25329723 Russ Cox

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



4a6f051073 Russ Cox

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.


841d71b5c6 Russ Cox

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.


6322b295cf rsc

ignore window resize; should be elsewhere


7cb82e1580 rsc

use same name that srv.c does


fdd0f8415f rsc

paranoia about extension


f246629788 rsc

paranoia about extension


d9ed72433f rsc

darwin



b5c7be2fd6 rsc

change Tcreate message in 9P2000.u


9777187bc7 rsc

fix offsets


9e2f1d9bf4 rsc

9P2000.u fixes (Lucho Ionkov)


16c1defa3d rsc

x11, used, etc.


54705b4aba rsc

Signedness.