summaryrefslogtreecommitdiffstats
path: root/src/cmd/9pserve.c
Commit message (Collapse)AuthorAgeFilesLines
* 9pserve: add -c optionRuss Cox2008-06-111-2/+11
|
* 9pserve: add -n flag to reject auth by clientsRuss Cox2007-10-121-1/+9
|
* 9pserve: delete from correct hash slot (fix infinite loop)Russ Cox2007-08-281-1/+1
|
* 9pserve: fix a new race involving assert(c->nmsg == 0).Russ Cox2007-08-221-3/+3
| | | | | | | 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.Russ Cox2007-08-221-26/+36
| | | | | | | | | | | | | | | | | 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 elsewherersc2007-06-181-0/+2
|
* use same name that srv.c doesrsc2006-05-271-3/+1
|
* paranoia about extensionrsc2006-05-041-1/+1
|
* paranoia about extensionrsc2006-05-041-1/+6
|
* darwinrsc2006-04-211-0/+2
|
* Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.rsc2006-04-011-7/+7
|
* change Tcreate message in 9P2000.ursc2006-03-031-1/+7
|
* fix offsetsrsc2006-02-031-3/+19
|
* 9P2000.u fixes (Lucho Ionkov)rsc2005-11-211-4/+15
|
* x11, used, etc.rsc2005-11-121-11/+18
|
* Signedness.rsc2005-09-131-3/+3
|
* Signedness bugs for Mac OS X.rsc2005-09-131-2/+3
|
* Add 9P2000.u extensions.rsc2005-09-131-15/+135
|
* use correct type for NOFID (sunos)rsc2005-07-271-1/+1
|
* add srv -a optionrsc2005-03-211-19/+95
|
* add verbose9pserve environment variable; fix afid refrsc2005-03-181-1/+6
|
* ignore tstprsc2005-03-181-1/+3
|
* bug fixes; quieterrsc2005-02-111-3/+3
|
* do not call exits in threaded programsrsc2005-01-171-1/+1
|
* more precision on timersc2005-01-061-2/+7
|
* more debuggingrsc2005-01-041-82/+149
|
* remove debugging printrsc2004-12-281-1/+0
|
* remove race between openfdthread and connoutthread msgput,rsc2004-12-281-1/+8
| | | | so that openfd'ed fids always get clunked properly.
* use threaddaemonizersc2004-12-281-14/+8
|
* use new thread libraryrsc2004-12-271-153/+1
|
* Today's changes.rsc2004-03-251-1/+1
| | | | More changes.
* Pipes cannot use SOCK_DGRAM. Back to SOCK_STREAM.rsc2004-03-051-3/+5
| | | | | | Add debugging to fdwait. Rewrite getcallerpc on PowerMac to be correct.
* Long-standing stability bugs fixed in 9pserve.rsc2004-03-021-19/+42
| | | | | Update win to use acme interface directly instead of via pipes. Add comment to pipe about lack of message boundaries.
* Tweaks for the Macintosh.rsc2004-03-021-1/+0
|
* Small tweaks to make things build again.rsc2004-02-291-1/+1
|
* Fighting the good fight.rsc2004-02-291-116/+68
| | | | | | | | | | | | Move libfmt, libutf into subdirectories of lib9. Add poll-based socket i/o to libthread, so that we can avoid using multiple procs when possible, thus removing dependence on crappy pthreads implementations. Convert samterm, acme to the single-proc libthread. Bring libcomplete, acme up-to-date w.r.t. Plan 9 distribution.
* Tweaks to various bits.rsc2003-12-171-23/+44
| | | | | Until I hear otherwise, Refs aren't used enough to merit their own assembly. They are now implemented with locks.
* Add support for user-level 9P servers/clients and various bug fixes to go ↵rsc2003-12-111-32/+425
| | | | with them.
* check everything in so i can move to linux and valgrind.rsc2003-12-091-60/+409
|
* File system stuff.rsc2003-12-061-0/+597