syscall.sh / xtensa / rename

rename

change the name or location of a file

sys_rename(const char *oldname, const char *newname)
number33 (0x21)
abicommon
entry pointsys_rename
sinceLinux 5.0
man pagerename(2)
sourceelixir.bootlin.com

Registers

registervalue
a233, the syscall number
a6const char *oldname
a3const char *newname
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/rename