Commits


Topen implemented Implement Topen plus some basic testing. ORCLOSE (remove file when the fid is clunked) is mapped to O_CLOEXEC and tried to be honoured on fid_free. "vanilla" 9P2000 uses reads on directories to list the entries while 9P2000.L (and .U too possibly) introduces an explicit Treaddir. I'm planning to support 9P2000-style read-on-dir but not yet.


move imsg_{event_add,compose_event} to utils


add a first draft of Twalk


define QIDSIZE, it's handy


add constants for Qid type


initial Tversion handling


bump MSIZE9P (max message size)


define a handy HEADERSIZE sizeof(struct np_msg_header) includes unwanted padding...


add more useful constants


fix bufferevent tls I/O on libevent2 port of telescope commit 1470eab31452d2fab50bc4965320dab7892b2ef3 original commit message: > on libevent2 we need to wrap evbuffer_add with > evbuffer_freeze/evbuffer_unfreeze. Not sure exactly why, probably > because we're doing some evbuffer_enable/disable/enable-again.


s/SIMPLEQ_/STAILQ_/g STAILQ_* macros seems to be more widespread than SIMPLEQ_*


move MIN to header


first stab at 9p


add flags to listener; warn if missing auth_table in the future we'll have also plain 9p, so mark the tls listeners with L_TLS and add the libtls machinery only in that case.


use table for auth