syscall.sh / x32 / rename

rename

change the name or location of a file

sys_rename(const char *oldname, const char *newname)
number1073741906 (0x40000052)
abicommon
entry pointsys_rename
sinceLinux 3.4
man pagerename(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741906, the syscall number
rdiconst char *oldname
rsiconst 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/rename