close_range on ia32

close all file descriptors in a given range

sys_close_range(unsigned int fd, unsigned int max_fd, unsigned int flags)
number436 (0x1b4)
abii386
entry pointsys_close_range
sinceLinux 5.9
man pageclose_range(2)
sourceelixir.bootlin.com

Registers

registervalue
eax436, the syscall number
ebxunsigned int fd
ecxunsigned int max_fd
edxunsigned int flags
eaxthe return value

Then run int 0x80 to enter the kernel.

This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/ia32/close_range