syscall.sh / s390x / sysfs

sysfs

get filesystem type information

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

Registers

registervalue
r1135, the syscall number
r2int option
r3unsigned long arg1
r4unsigned long arg2
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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