summaryrefslogtreecommitdiff
path: root/lib9p/srv.c
AgeCommit message (Collapse)Author
6 dayslib9p: srv.c: Simplify handler callingLuke T. Shumaker
9 dayslibmisc: macro.h: Add LM_PARTIAL_SWITCH, use itLuke T. Shumaker
2025-05-06Use C23Luke T. Shumaker
This gives us: - [[maybe_unused]] instead of [[gnu::unused]] - bool/true/false are predefined, so no need for <stdbool.h>
2025-05-06libmisc: log.h: Add a "log_" prefix to errorf/infof/debugfLuke T. Shumaker
2025-04-21lib9p_srv: Cap Tread->countLuke T. Shumaker
2025-04-21lib9p_core: Rename the "unknown" version to "uninitialized"Luke T. Shumaker
2025-04-19lib9p: Don't require that CONFIG_9P_ENABLE_9P2000Luke T. Shumaker
2025-04-19lib9p_srv: Separate the stat API from the network formatLuke T. Shumaker
2025-04-19lib9p_srv: Rethink the dio interfaceLuke T. Shumaker
2025-04-19lib9p_idl: Clean up struct stat and numeric user IDsLuke T. Shumaker
2025-04-19lib9p_srv: Rework srv_fid_del()Luke T. Shumaker
2025-04-18lib9p_srv: Send response from the handle_T* functions, not the outer workerLuke T. Shumaker
2025-04-18lib9p_srv: Set Twrite->byte_offset to zero if append-onlyLuke T. Shumaker
2025-04-18lib9p_srv: Whoops, mark a few functions as staticLuke T. Shumaker
2025-04-17lib9p_srv: Rename ->authinfo->{uname,uid} to ->userid->{name,num}Luke T. Shumaker
2025-04-17lib9p: Check that we compile for the whole the matrix of "enable"-togglesLuke T. Shumaker
2025-04-16lib9p_srv: Re-think flush semanticsLuke T. Shumaker
2025-04-15libmisc: Add alloc.h to help detect wrong alloc sizesLuke T. Shumaker
Lo and behold, there was a mistake in chan.c.
2025-04-15lib9p_srv: The tmessage_handlers table was space-inefficientLuke T. Shumaker
2025-04-15lib9p_srv: Expose handle_message() as lib9p_srv_worker()Luke T. Shumaker
2025-04-15libcr_ipc: Have generic cr_rpc_* funcs instead of chan-specific funcsLuke T. Shumaker
2025-04-15libcr_ipc: Have generic cr_chan_* funcs instead of chan-specific funcsLuke T. Shumaker
2025-04-15lib9p_srv: Tests+fixes for TwalkLuke T. Shumaker
2025-04-14lib9p_core: linux-errno.h: Rename LINUX_* => LIB9P_ERRNO_L_*Luke T. Shumaker
2025-04-14lib9p_srv: Require less compile-time configLuke T. Shumaker
2025-04-14Split lib9p into lib9p_core and lib9p_srvLuke T. Shumaker
2025-04-13lib9p: srv: Implement p9p version negotiationLuke T. Shumaker
I've spent enough time thinking about how I would implement this that I should just get it out of my head and into the code.
2025-04-13lib9p: Test+fix that auth data is tracked in the contextLuke T. Shumaker
2025-04-13fixup! lib9p: srv: Use a separate pathmapLuke T. Shumaker
2025-04-13fixup! lib9p: Split lib9p_{validate,unmarshal,marshal} into _Tmsg and _Rmsg ↵Luke T. Shumaker
variants
2025-04-13lib9p: srv: Try to go for consistent namingLuke T. Shumaker
2025-04-13lib9p: srv: Less nesting in the context structsLuke T. Shumaker
2025-04-13lib9p: srv: Drop the sess->rerror_overhead fieldLuke T. Shumaker
2025-04-12lib9p: Test+fix that io handles get freedLuke T. Shumaker
2025-04-12Replace lib9p map with a libmisc heap-allocated mapLuke T. Shumaker
Turns out using static buffers makes it hard to detect "use-after-free" problems and leaks.
2025-04-12lib9p: srv: Tidy lib9p_srv_readLuke T. Shumaker
2025-04-12lib9p: Rename the server coroutine functions, pull out the read funcLuke T. Shumaker
2025-04-12lib9p: Test+fix the Twalk newfid==fid caseLuke T. Shumaker
2025-04-12lib9p: idl: Normalize on the field names "errstr" and "errnum"Luke T. Shumaker
2025-04-12lib9p: srv: Have message logging be pluggableLuke T. Shumaker
2025-04-10lib9p: srv: No reason to have acknowledge_flush() return anythingLuke T. Shumaker
2025-04-07libcr_ipc: Pull as much as possible from public .h to .c filesLuke T. Shumaker
2025-04-05lib9p: srv: Add comments about safety things to doLuke T. Shumaker
2025-04-05SYSTEM headers don't get strict GCC checks, so change them to PUBLICLuke T. Shumaker
2025-04-05lib9p: srv: Whoops, add a missing `return`Luke T. Shumaker
2025-04-02lib9p: srv: Log messages that are received and sentLuke T. Shumaker
2025-04-02lib9p: Split internal.h up, rename some CONFIG symbolsLuke T. Shumaker
2025-03-29lib9p: idl: Rework bitfields, allow full exprs more placesLuke T. Shumaker
2025-03-26lib9p: Adjust for reads to be zero-copyLuke T. Shumaker
2025-03-26lib9p: Have separate IO objects, so they can have their own stateLuke T. Shumaker