syscall.sh / mipso32 / renameat
renameat
change the name or location of a file
sys_renameat(int olddfd, const char *oldname, int newdfd, const char *newname)
| number | 4295 (0x10c7) |
|---|---|
| abi | o32 |
| entry point | sys_renameat |
| since | Linux 5.0 |
| man page | renameat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 4295, the syscall number |
a0 | int olddfd |
a1 | const char *oldname |
a2 | int newdfd |
a3 | const char *newname |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 264
- x86 302
- arm64 38
- arm 329
- x32 1073742088
- ppc64 293
- ppc 293
- s390x 295
- mips64 5254
- mipsn32 6258
- alpha 457
- arc 38
- hexagon 38
- m68k 295
- microblaze 302
- nios2 38
- openrisc 38
- parisc 282
- sh 302
- sparc 291
- sparc64 291
- xtensa 292
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/renameat