summaryrefslogtreecommitdiff
path: root/src/serve.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-01 05:49:05 -0300
committerGabriel Schneider <[email protected]>2026-10-01 05:50:14 -0300
commit552584ad79448988646231c7993a36e55b0e8c05 (patch)
tree69eb107431964519a0d9b019d4d47cad2edcd6ec /src/serve.zig
parent12d78be492351e29144daa379232bbd955b47631 (diff)
downloadcloud9-552584ad79448988646231c7993a36e55b0e8c05.tar.gz
cloud9-552584ad79448988646231c7993a36e55b0e8c05.zip
9ns: acme's address and argument refusals reach the caller as EINVAL, not EIO; the word rules are cloud9.fs.enameErrno, for a server's tests to ask
A server that keeps acme's spellings (pardes) refuses an address or a ctl argument with "no match for regexp", "address out of range", "addresses out of order", "range past end of body" and the like, as EINVAL, but none held a word 9ns knew, so a shell through the mount heard EIO. Each now maps to EINVAL, narrowly and after every older rule, so nothing that maps today is remapped. The rules move from 9ns into the cloud9 module as fs.enameErrno (Linux's numbers), 9ns's enameToErrno a cast of it, so a server's own tests can check that each refusal says its errno in words 9ns maps. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/serve.zig')
0 files changed, 0 insertions, 0 deletions