syscall.sh / x86 / sysfs
sysfs
get filesystem type information
sys_sysfs(int option, unsigned long arg1, unsigned long arg2)
| number | 135 (0x87) |
|---|---|
| abi | i386 |
| entry point | sys_sysfs |
| since | Linux 3.3 |
| man page | sysfs(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 135, the syscall number |
ebx | int option |
ecx | unsigned long arg1 |
edx | unsigned long arg2 |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 139
- arm 135
- x32 1073741963
- ppc64 135
- ppc 135
- s390x 135
- mips64 5136
- mipsn32 6136
- mipso32 4135
- alpha 254
- arc 247
- m68k 135
- microblaze 135
- parisc 135
- sh 135
- sparc 226
- sparc64 226
- xtensa 182
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/sysfs