syscall.sh / x32 / sysfs
sysfs
get filesystem type information
sys_sysfs(int option, unsigned long arg1, unsigned long arg2)
| number | 1073741963 (0x4000008b) |
|---|---|
| abi | common |
| entry point | sys_sysfs |
| since | Linux 3.4 |
| man page | sysfs(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073741963, the syscall number |
rdi | int option |
rsi | unsigned long arg1 |
rdx | unsigned long arg2 |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 139
- x86 135
- arm 135
- 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/x32/sysfs