close_range on nds32
close all file descriptors in a given range
sys_close_range(unsigned int fd, unsigned int max_fd, unsigned int flags)
| number | 436 (0x1b4) |
|---|---|
| abi | common |
| entry point | sys_close_range |
| since | Linux 5.9 |
| man page | close_range(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 436, the syscall number |
r0 | unsigned int fd |
r1 | unsigned int max_fd |
r2 | unsigned int flags |
r0 | the return value |
Then run syscall to enter the kernel.
This architecture was removed from the Linux kernel in Linux 5.18. The newest release with a syscall table here is Linux 5.17. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 436
- x86 436
- arm64 436
- arm 436
- riscv64 436
- ia32 436
- x32 1073742260
- loongarch64 436
- ppc64 436
- ppc 436
- s390x 436
- mips64 5436
- mipsn32 6436
- mipso32 4436
- alpha 546
- arc 436
- csky 436
- hexagon 436
- ia64 1460, removed in 6.7
- 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/nds32/close_range?kernel=all