syscall.sh / alpha / renameat

renameat

change the name or location of a file

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

Registers

registervalue
v0457, the syscall number
a0int olddfd
a1const char *oldname
a2int newdfd
a3const char *newname
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/renameat