syscall.sh / x32 / open_by_handle_at

open_by_handle_at

obtain handle for a pathname and open file via a handle

sys_open_by_handle_at(int mountdirfd, struct file_handle *handle, int flags)
number1073742128 (0x40000130)
abicommon
entry pointsys_open_by_handle_at
sinceLinux 3.4
man pageopen_by_handle_at(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073742128, the syscall number
rdiint mountdirfd
rsistruct file_handle *handle
rdxint flags
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/open_by_handle_at