syscall.sh / x64 / renameat

renameat

change the name or location of a file

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

Registers

registervalue
rax264, 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/x64/renameat