syscall.sh / s390x / name_to_handle_at

name_to_handle_at

obtain handle for a pathname and open file via a handle

sys_name_to_handle_at(int dfd, const char *name, struct file_handle *handle, void *mnt_id, int flag)
number335 (0x14f)
abicommon
entry pointsys_name_to_handle_at
sinceLinux 4.16
man pagename_to_handle_at(2)
sourceelixir.bootlin.com

Registers

registervalue
r1335, the syscall number
r2int dfd
r3const char *name
r4struct file_handle *handle
r5void *mnt_id
r6int flag
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/name_to_handle_at