syscall.sh / parisc / renameat
renameat
change the name or location of a file
sys_renameat(int olddfd, const char *oldname, int newdfd, const char *newname)
| number | 282 (0x11a) |
|---|---|
| abi | common |
| entry point | sys_renameat |
| since | Linux 5.0 |
| man page | renameat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 282, the syscall number |
r26 | int olddfd |
r25 | const char *oldname |
r24 | int newdfd |
r23 | const char *newname |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) 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
- mipso32 4295
- alpha 457
- arc 38
- hexagon 38
- m68k 295
- microblaze 302
- nios2 38
- openrisc 38
- sh 302
- sparc 291
- sparc64 291
- xtensa 292
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/renameat