syscall.sh / parisc / renameat2
renameat2
change the name or location of a file
sys_renameat2(int olddfd, const char *oldname, int newdfd, const char *newname, unsigned int flags)
| number | 337 (0x151) |
|---|---|
| abi | common |
| entry point | sys_renameat2 |
| since | Linux 5.0 |
| man page | renameat2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 337, the syscall number |
r26 | int olddfd |
r25 | const char *oldname |
r24 | int newdfd |
r23 | const char *newname |
r22 | unsigned int flags |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) to enter the kernel.
Same syscall on other architectures
- x64 316
- x86 353
- arm64 276
- arm 382
- riscv64 276
- x32 1073742140
- loongarch64 276
- ppc64 357
- ppc 357
- s390x 347
- mips64 5311
- mipsn32 6315
- mipso32 4351
- alpha 510
- arc 276
- csky 276
- hexagon 276
- m68k 351
- microblaze 383
- nios2 276
- openrisc 276
- sh 371
- sparc 345
- sparc64 345
- xtensa 336
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/renameat2