syscall.sh / arm64 / renameat
renameat
change the name or location of a file
sys_renameat(int olddfd, const char *oldname, int newdfd, const char *newname)
| number | 38 (0x26) |
|---|---|
| abi | renameat |
| entry point | sys_renameat |
| since | Linux 3.7 |
| man page | renameat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
x8 | 38, the syscall number |
x0 | int olddfd |
x1 | const char *oldname |
x2 | int newdfd |
x3 | const char *newname |
x0 | the return value |
Then run svc #0 to enter the kernel.
Same syscall on other architectures
- x64 264
- x86 302
- arm 329
- 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/arm64/renameat