syscall.sh / x32 / renameat

renameat

change the name or location of a file

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

Registers

registervalue
rax1073742088, the syscall number
rdiint olddfd
rsiconst char *oldname
rdxint newdfd
r10const char *newname
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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