syscall.sh / alpha / 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)
number497 (0x1f1)
abicommon
entry pointsys_name_to_handle_at
sinceLinux 5.0
man pagename_to_handle_at(2)
sourceelixir.bootlin.com

Registers

registervalue
v0497, the syscall number
a0int dfd
a1const char *name
a2struct file_handle *handle
a3void *mnt_id
a4int flag
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/name_to_handle_at