syscall.sh / m68k / 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)
number341 (0x155)
abicommon
entry pointsys_open_by_handle_at
sinceLinux 5.0
man pageopen_by_handle_at(2)
sourceelixir.bootlin.com

Registers

registervalue
d0341, the syscall number
d1int mountdirfd
d2struct file_handle *handle
d3int flags
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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