name_to_handle_at on cris

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, int *mnt_id, int flag)
number336 (0x150)
abicommon
kconfigCONFIG_FHANDLE
entry pointsys_name_to_handle_at
sinceLinux 3.14
man pagename_to_handle_at(2)
sourceelixir.bootlin.com

Registers

registervalue
r9336, the syscall number
r10int dfd
r11const char *name
r12struct file_handle *handle
r13int *mnt_id
mofint flag
r10the return value

Then run break 13 to enter the kernel.

This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/cris/name_to_handle_at?kernel=all