symlinkat on m32r
make a new name for a file
sys_symlinkat(const char *oldname, int newdfd, const char *newname)
| number | 304 (0x130) |
|---|---|
| abi | common |
| entry point | sys_symlinkat |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for m32r) |
| man page | symlinkat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 304, the syscall number |
r0 | const char *oldname |
r1 | int newdfd |
r2 | const char *newname |
r0 | the return value |
Then run trap #2 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 266
- x86 304
- arm64 36
- arm 331
- riscv64 36
- ia32 304
- x32 1073742090
- loongarch64 36
- ppc64 295
- ppc 295
- s390x 297
- mips64 5256
- mipsn32 6260
- mipso32 4297
- alpha 459
- arc 36
- blackfin 304, removed in 4.17
- cris 304, removed in 4.17
- csky 36
- frv 304, removed in 4.17
- hexagon 36
- ia64 1290, removed in 6.7
- m68k 297
- metag 36, removed in 4.17
- microblaze 304
- mn10300 305, removed in 4.17
- nds32 36, removed in 5.18
- nios2 36
- openrisc 36
- parisc 284
- score 36, removed in 4.17
- sh 304
- sparc 293
- sparc64 293
- tilegx 36, removed in 4.17
- tilepro 36, removed in 4.17
- xtensa 294
Get this as JSON: https://api.syscall.sh/v2/syscalls/m32r/symlinkat?kernel=all