linkat on mn10300
make a new name for a file
sys_linkat(int olddfd, const char *oldname, int newdfd, const char *newname, int flags)
| number | 304 (0x130) |
|---|---|
| abi | common |
| entry point | sys_linkat |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for mn10300) |
| man page | linkat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 304, the syscall number |
a0 | int olddfd |
d1 | const char *oldname |
a3 | int newdfd |
a2 | const char *newname |
d3 | int flags |
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 265
- x86 303
- arm64 37
- arm 330
- riscv64 37
- ia32 303
- x32 1073742089
- loongarch64 37
- ppc64 294
- ppc 294
- s390x 296
- mips64 5255
- mipsn32 6259
- mipso32 4296
- alpha 458
- arc 37
- blackfin 303, removed in 4.17
- cris 303, removed in 4.17
- csky 37
- frv 303, removed in 4.17
- hexagon 37
- ia64 1289, removed in 6.7
- m32r 303, removed in 4.17
- m68k 296
- metag 37, removed in 4.17
- microblaze 303
- nds32 37, removed in 5.18
- nios2 37
- openrisc 37
- parisc 283
- score 37, removed in 4.17
- sh 303
- sparc 292
- sparc64 292
- tilegx 37, removed in 4.17
- tilepro 37, removed in 4.17
- xtensa 293
Get this as JSON: https://api.syscall.sh/v2/syscalls/mn10300/linkat?kernel=all