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

Registers

registervalue
a2324, the syscall number
a6int dfd
a3const char *name
a4struct file_handle *handle
a5void *mnt_id
a8int flag
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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