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

Registers

registervalue
r0345, the syscall number
r3int dfd
r4const char *name
r5struct file_handle *handle
r6void *mnt_id
r7int flag
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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