Commits
- Commit:
29f1f5824909cc91325fd45105a82d1006f5e176
- From:
- Omar Polo <op@omarpolo.com>
- Date:
update qid and fid structs + docs
I've finally made up my mind regarding the qid and fid handling. fids
are fine as they currently are, I've just added some comments to don't
forget the meaning of the iomode and fd fields. The values KFIO_W/R are
new and will be soon used by the (soon to be added) Topen call.
qids keep the current semantics, but loose some fields that I've added
when I wasn't sure yet. To reiterate: a qid is a directory file
descriptor plus an optional path. If path is empty, the qid refers to
the directory, otherwise to that file in the current directory, c.f.
openat(3).
This makes implementing Topen easier: for instance, if fid1 and fid2 are
backed by the same qid, a Topen on fid1 doesn't need to alter fid1->qid,
and so fid2 is still fine. The reference counting on qids ensures that
we end up closing all the directories fd.
- Commit:
148895f4f26017f5219f2033d6e061ef950a78dc
- From:
- Omar Polo <op@omarpolo.com>
- Date:
include the ninepscript documentation in the distribution tarball
- Commit:
76991ad5937aec81712337862c5264c2951749cd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add ninepscript.5 manpage -- description of the language
- Commit:
8ec0e86303b00e88b3f1506f6f4590a95eb38eef
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix val_trueish implementation
consider to be true also strings and handle other integers.
- Commit:
7a495cc06ba718ed1ad5f056fecc99a13b2b38f9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
publish some functions
- Commit:
ca8ce622a22580202c01e86572be6e2815018c71
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add ninepscript.8 manpage -- our test runner
- Commit:
24fb5e236e6b8a089b8c8e8545761001cd61a1fc
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typo
- Commit:
fd34fa90f8ea1e6041a8387f378b05d7c563f036
- From:
- Omar Polo <op@omarpolo.com>
- Date:
pass flags to ninepscript
- Commit:
6b193bfb52a50704c349c695d658cddf79db53bf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add a note for the future
- Commit:
d3d4880e2074881a67910cfc5182214b84302d3e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typos
- Commit:
47c9b8b8b3a15c444f6621e2680181eadc8db366
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't allow duplicating a fid already opened for I/O
if a fid was opened for i/o can't be used for twalk
- Commit:
f987557cb3636bcd8ea1881625e724e77963d7db
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt
- Commit:
673b7e44c12b08c42b0f2c1c01883b99f0446159
- From:
- Omar Polo <op@omarpolo.com>
- Date:
mention the inode stuff in the CAVEATS
- Commit:
5a5fa0dbefb49f1cd04b4dc45c8062feb9d44c9b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typo
- Commit:
87b7e08f91616d7082d50752d68f18245e110e73
- From:
- Omar Polo <op@omarpolo.com>
- Date:
include compat.h before everything else