syscall.sh / xtensa / renameat

renameat

change the name or location of a file

sys_renameat(int olddfd, const char *oldname, int newdfd, const char *newname)
number292 (0x124)
abicommon
entry pointsys_renameat
sinceLinux 5.0
man pagerenameat(2)
sourceelixir.bootlin.com

Registers

registervalue
a2292, the syscall number
a6int olddfd
a3const char *oldname
a4int newdfd
a5const 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/renameat