syscall.sh / arm / 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)
number370 (0x172)
abicommon
entry pointsys_name_to_handle_at
sinceLinux 4.10
man pagename_to_handle_at(2)
sourceelixir.bootlin.com

Registers

registervalue
r7370, the syscall number
r0int dfd
r1const char *name
r2struct file_handle *handle
r3void *mnt_id
r4int flag
r0the 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/arm/name_to_handle_at