rename on ia64
change the name or location of a file
sys_rename(const char *oldname, const char *newname)
| number | 1054 (0x41e) |
|---|---|
| abi | common |
| entry point | sys_rename |
| since | Linux 5.0 or earlier (5.0 is the first release scanned for ia64) |
| man page | rename(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 1054, the syscall number |
out0 | const char *oldname |
out1 | const char *newname |
r8 | the return value |
Then run break 0x100000 to enter the kernel.
The kernel uses r10 to signal an error.
The pipe call returns file descriptors in r8 and r9.
This architecture was removed from the Linux kernel in Linux 6.7. The newest release with a syscall table here is Linux 6.6. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 82
- x86 38
- arm 38
- ia32 38
- x32 1073741906
- ppc64 38
- ppc 38
- s390x 38
- mips64 5080
- mipsn32 6080
- mipso32 4038
- alpha 128
- blackfin 38, removed in 4.17
- cris 38, removed in 4.17
- frv 38, removed in 4.17
- m32r 38, removed in 4.17
- m68k 38
- microblaze 38
- mn10300 38, removed in 4.17
- parisc 38
- score 1034, removed in 4.17
- sh 38
- sparc 128
- sparc64 128
- xtensa 33
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia64/rename?kernel=all