syscall.sh / s390x / renameat

renameat

change the name or location of a file

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

Registers

registervalue
r1295, the syscall number
r2int olddfd
r3const char *oldname
r4int newdfd
r5const char *newname
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/s390x/renameat