syscall.sh / arm64 / 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)
number264 (0x108)
abicommon
entry pointsys_name_to_handle_at
sinceLinux 3.7
man pagename_to_handle_at(2)
sourceelixir.bootlin.com

Registers

registervalue
x8264, the syscall number
x0int dfd
x1const char *name
x2struct file_handle *handle
x3void *mnt_id
x4int flag
x0the 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/arm64/name_to_handle_at