renameat on mn10300
change the name or location of a file
sys_renameat(int olddfd, const char *oldname, int newdfd, const char *newname)
| number | 303 (0x12f) |
|---|---|
| abi | common |
| entry point | sys_renameat |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for mn10300) |
| man page | renameat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 303, the syscall number |
a0 | int olddfd |
d1 | const char *oldname |
a3 | int newdfd |
a2 | const char *newname |
d0 | the return value |
Then run syscall 0 to enter the kernel.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 264
- x86 302
- arm64 38
- arm 329
- ia32 302
- x32 1073742088
- ppc64 293
- ppc 293
- s390x 295
- mips64 5254
- mipsn32 6258
- mipso32 4295
- alpha 457
- arc 38
- blackfin 302, removed in 4.17
- cris 302, removed in 4.17
- frv 302, removed in 4.17
- hexagon 38
- ia64 1288, removed in 6.7
- m32r 302, removed in 4.17
- m68k 295
- metag 38, removed in 4.17
- microblaze 302
- nios2 38
- openrisc 38
- parisc 282
- score 38, removed in 4.17
- sh 302
- sparc 291
- sparc64 291
- tilegx 38, removed in 4.17
- tilepro 38, removed in 4.17
- xtensa 292
Get this as JSON: https://api.syscall.sh/v2/syscalls/mn10300/renameat?kernel=all