syscall.sh / parisc / rename

rename

change the name or location of a file

sys_rename(const char *oldname, const char *newname)
number38 (0x26)
abicommon
entry pointsys_rename
sinceLinux 5.0
man pagerename(2)
sourceelixir.bootlin.com

Registers

registervalue
r2038, the syscall number
r26const char *oldname
r25const char *newname
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/rename