syscall.sh / riscv64 / fsconfig

fsconfig

configure new or existing filesystem context

sys_fsconfig(int fs_fd, unsigned int cmd, const char *key, const void *value, int aux)
number431 (0x1af)
abicommon
entry pointsys_fsconfig
sinceLinux 5.2
man pagefsconfig(2)
sourceelixir.bootlin.com

Registers

registervalue
a7431, the syscall number
a0int fs_fd
a1unsigned int cmd
a2const char *key
a3const void *value
a4int aux
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/fsconfig