syscall.sh / openrisc / renameat

renameat

change the name or location of a file

sys_renameat(int olddfd, const char *oldname, int newdfd, const char *newname)
number38 (0x26)
abirenameat
entry pointsys_renameat
sinceLinux 3.7
man pagerenameat(2)
sourceelixir.bootlin.com

Registers

registervalue
r1138, the syscall number
r3int olddfd
r4const char *oldname
r5int newdfd
r6const char *newname
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

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