syscall.sh / alpha / sysfs

sysfs

get filesystem type information

sys_sysfs(int option, unsigned long arg1, unsigned long arg2)
number254 (0xfe)
abicommon
entry pointsys_sysfs
sinceLinux 5.0
man pagesysfs(2)
sourceelixir.bootlin.com

Registers

registervalue
v0254, the syscall number
a0int option
a1unsigned long arg1
a2unsigned long arg2
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/sysfs