syscall.sh / s390x / renameat2

renameat2

change the name or location of a file

sys_renameat2(int olddfd, const char *oldname, int newdfd, const char *newname, unsigned int flags)
number347 (0x15b)
abicommon
entry pointsys_renameat2
sinceLinux 4.16
man pagerenameat2(2)
sourceelixir.bootlin.com

Registers

registervalue
r1347, the syscall number
r2int olddfd
r3const char *oldname
r4int newdfd
r5const char *newname
r6unsigned int flags
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/renameat2