syscall.sh / arc / sysfs

sysfs

get filesystem type information

sys_sysfs(int option, unsigned long arg1, unsigned long arg2)
number247 (0xf7)
abiarc
entry pointsys_sysfs
sinceLinux 3.9
man pagesysfs(2)
sourceelixir.bootlin.com

Registers

registervalue
r8247, the syscall number
r0int option
r1unsigned long arg1
r2unsigned long arg2
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

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