diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2022-12-25 17:34:29 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2022-12-25 17:34:29 +0000 |
commit | 568a0b246c42d79eaa1b70cbc4442723a2efb489 (patch) | |
tree | 677903765bf09cb8006a2173358cdb004c9c1451 /sys/src/libc | |
parent | 62253b9d1720fb3ce962a5a6b2bdf5588267be8a (diff) |
devsrv: Various fixes.
Make global variables static to avoid symbol clashes.
Order Link fields more compactly for 64-bit archs.
Add a common freelink() function for freeing Boards and Srvs.
Chain all Boards in a circular doubly-linked list,
so srvrename() can actually change the owners of *all*
the boards instead of just the root. We cannot use
recursion here as that could potentially blow the
kernel stack.
srvname() was also only processing the root.
Instead, we add a srvname field to Chan and set it to
the original path of the srv file that was used to post
the channel.
Call openmode() at the beginning of srvopen().
The reason is if omode has invalid bits it can error
and leave stuff in a inconsistent state.
Prevent srvwstat() to rename a file to "clone", it is
reserved.
Get rid of "lease expired" error message, just use
Eshutdown.
Diffstat (limited to 'sys/src/libc')
0 files changed, 0 insertions, 0 deletions