syscall.sh / sparc / rename

rename

change the name or location of a file

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

Registers

registervalue
g1128, the syscall number
o0const char *oldname
o1const char *newname
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

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