syscall.sh / mipsn32 / ioctl
ioctl
control device
compat_sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg)
| number | 6015 (0x177f) |
|---|---|
| abi | n32 |
| entry point | compat_sys_ioctl |
| since | Linux 5.0 |
| man page | ioctl(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 6015, the syscall number |
a0 | unsigned int fd |
a1 | unsigned int cmd |
a2 | unsigned long arg |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 16
- x86 54
- arm64 29
- arm 54
- riscv64 29
- x32 1073742338
- loongarch64 29
- ppc64 54
- ppc 54
- s390x 54
- mips64 5015
- mipso32 4054
- alpha 54
- arc 29
- csky 29
- hexagon 29
- m68k 54
- microblaze 54
- nios2 29
- openrisc 29
- parisc 54
- sh 54
- sparc 54
- sparc64 54
- xtensa 66
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipsn32/ioctl