syscall.sh / x64 / sysfs

sysfs

get filesystem type information

sys_sysfs(int option, unsigned long arg1, unsigned long arg2)
number139 (0x8b)
abicommon
entry pointsys_sysfs
sinceLinux 3.3
man pagesysfs(2)
sourceelixir.bootlin.com

Registers

registervalue
rax139, the syscall number
rdiint option
rsiunsigned long arg1
rdxunsigned long arg2
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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