syscall.sh / arm / renameat
renameat
change the name or location of a file
sys_renameat(int olddfd, const char *oldname, int newdfd, const char *newname)
| number | 329 (0x149) |
|---|---|
| abi | common |
| entry point | sys_renameat |
| since | Linux 4.10 |
| man page | renameat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 329, the syscall number |
r0 | int olddfd |
r1 | const char *oldname |
r2 | int newdfd |
r3 | const char *newname |
r0 | the return value |
Then run svc #0 to enter the kernel.
Same syscall on other architectures
- x64 264
- x86 302
- arm64 38
- x32 1073742088
- ppc64 293
- ppc 293
- s390x 295
- mips64 5254
- mipsn32 6258
- mipso32 4295
- 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/arm/renameat