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

Registers

registervalue
g1332, the syscall number
o0int dfd
o1const char *name
o2struct file_handle *handle
o3void *mnt_id
o4int flag
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

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