Commits
- Commit:
c35679afc52aea4a7af860b3008148a541cec6b5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
implement virtual and userdata tables for users handling
The idea is to abstract over the users that kamid manages. The virtual
table allows to use a custom userbase instead of the local UNIX users.
The userdata tables maps (virtual) users to their home directory, which
is the only directory tree exported by kamid as of now.
Together, they allow a powerful and flexible management of the users and
their data. The idea is somewhat stolen from smtpd(8).
- Commit:
225ca68ad0231fb53db5e332780cf0671d237451
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't account for size[2] itself in the struct stat
- Commit:
5585f1c3803e04ba1341fef0f031b1df1312682a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
implement Tread against directories
To do so it was needed to modify the np_* functions so they take an
explicit evbuffer.
- Commit:
5e76e4a670355bd98126fc12f24b774b1ce55b88
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add readdir numbers for future reference
- Commit:
021481cadee5324ef838e632a87746cdabffd5e3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
eff5e4e8400b014d16790889aa601331ecf4c7b3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move imsg_{event_add,compose_event} to utils
- Commit:
1c08fc548ae9aafb91a00d878bf9cdc2273b2a4d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add a first draft of Twalk
- Commit:
4f6b2143138263be53ff1da018ded2e7548d256a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
define QIDSIZE, it's handy
- Commit:
95e21698268591ae434da1db34038c292f361f81
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add constants for Qid type
- Commit:
5c485996696ebb2f12799297a00ef02d89d91246
- From:
- Omar Polo <op@omarpolo.com>
- Date:
initial Tversion handling
- Commit:
4321cc20b2928d088d2d73ee0cb58d92e85c7811
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bump MSIZE9P (max message size)
- Commit:
51b2b17ecbffa67058edefe4ed64838e2def1e76
- From:
- Omar Polo <op@omarpolo.com>
- Date:
define a handy HEADERSIZE
sizeof(struct np_msg_header) includes unwanted padding...
- Commit:
0c8f02ba56c1898d58304dc70ed1dc18b2675134
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add more useful constants
- Commit:
af9b96a013ee85729431044a30b2b8944c844670
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
c25feded5b4a1aaa0beb1b33d9d45594c0bc2b34
- From:
- Omar Polo <op@omarpolo.com>
- Date:
s/SIMPLEQ_/STAILQ_/g
STAILQ_* macros seems to be more widespread than SIMPLEQ_*