syscall.sh / s390x / 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)
number336 (0x150)
abicommon
entry pointsys_open_by_handle_at
sinceLinux 4.16
man pageopen_by_handle_at(2)
sourceelixir.bootlin.com

Registers

registervalue
r1336, the syscall number
r2int mountdirfd
r3struct file_handle *handle
r4int flags
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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