syscall.sh / sparc / renameat

renameat

change the name or location of a file

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

Registers

registervalue
g1291, the syscall number
o0int olddfd
o1const char *oldname
o2int newdfd
o3const 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/renameat