syscall.sh / sh / sysfs

sysfs

get filesystem type information

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

Registers

registervalue
r3135, the syscall number
r4int option
r5unsigned long arg1
r6unsigned long arg2
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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