syscall.sh / mipso32 / renameat

renameat

change the name or location of a file

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

Registers

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

Then run syscall to enter the kernel.

Same syscall on other architectures

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