Go to the source code of this file.
◆ FSSRV_E_INVAL
◆ FSSRV_E_NOENT
◆ FSSRV_E_NOSPC
◆ FSSRV_E_PERM
◆ FSSRV_ENDPOINT
| #define FSSRV_ENDPOINT "fs" |
fssrv.h – wire protocol between the kernel's /srv file-system proxy (KernelAA64/Fs/srvfs.c) and a user-space file server (Process/fssrv).
The protocol is stateless and path-based, like NFS: there are no server-side handles, so nothing leaks when a client closes a file or dies. Every request travels over the generic kernel IPC to the endpoint FSSRV_ENDPOINT; the kernel stamps each one with the calling process's uid, which is what the server enforces permissions against. Data follows the fixed header in the same message.
◆ FSSRV_F_CREATE
◆ FSSRV_F_WRITE
◆ FSSRV_MAX_DATA
| #define FSSRV_MAX_DATA 4096 |
◆ FSSRV_NAME_MAX
| #define FSSRV_NAME_MAX 31 |
◆ FSSRV_OK
◆ FSSRV_OP_OPEN
| #define FSSRV_OP_OPEN 1 /* flags: FSSRV_F_*, answers size/uid */ |
◆ FSSRV_OP_READ
◆ FSSRV_OP_READDIR
◆ FSSRV_OP_REMOVE
| #define FSSRV_OP_REMOVE 5 /* owner or uid 0 only */ |
◆ FSSRV_OP_WRITE