syscall.sh / mipso32 / close_range
close_range
close all file descriptors in a given range
sys_close_range(unsigned int fd, unsigned int max_fd, unsigned int flags)
| number | 4436 (0x1154) |
|---|---|
| abi | o32 |
| entry point | sys_close_range |
| since | Linux 5.9 |
| man page | close_range(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 4436, the syscall number |
a0 | unsigned int fd |
a1 | unsigned int max_fd |
a2 | unsigned int flags |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 436
- x86 436
- arm64 436
- arm 436
- riscv64 436
- x32 1073742260
- loongarch64 436
- ppc64 436
- ppc 436
- s390x 436
- mips64 5436
- mipsn32 6436
- alpha 546
- arc 436
- csky 436
- hexagon 436
- m68k 436
- microblaze 436
- nios2 436
- openrisc 436
- parisc 436
- sh 436
- sparc 436
- sparc64 436
- xtensa 436
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/close_range