syscall.sh / sparc64 / 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)
number436 (0x1b4)
abicommon
entry pointsys_close_range
sinceLinux 5.9
man pageclose_range(2)
sourceelixir.bootlin.com

Registers

registervalue
g1436, the syscall number
o0unsigned int fd
o1unsigned int max_fd
o2unsigned int flags
o0the return value

Then run t 0x6d to enter the kernel.

Same syscall on other architectures

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