syscall.sh / x32 / 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)
number1073742127 (0x4000012f)
abicommon
entry pointsys_name_to_handle_at
sinceLinux 3.4
man pagename_to_handle_at(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073742127, the syscall number
rdiint dfd
rsiconst char *name
rdxstruct file_handle *handle
r10void *mnt_id
r8int flag
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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