syscall.sh / alpha / linkat
linkat
make a new name for a file
sys_linkat(int olddfd, const char *oldname, int newdfd, const char *newname, int flags)
| number | 458 (0x1ca) |
|---|---|
| abi | common |
| entry point | sys_linkat |
| since | Linux 5.0 |
| man page | linkat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 458, the syscall number |
a0 | int olddfd |
a1 | const char *oldname |
a2 | int newdfd |
a3 | const char *newname |
a4 | int flags |
v0 | the return value |
Then run callsys to enter the kernel.
Same syscall on other architectures
- x64 265
- x86 303
- arm64 37
- arm 330
- riscv64 37
- x32 1073742089
- loongarch64 37
- ppc64 294
- ppc 294
- s390x 296
- mips64 5255
- mipsn32 6259
- mipso32 4296
- arc 37
- csky 37
- hexagon 37
- m68k 296
- microblaze 303
- nios2 37
- openrisc 37
- parisc 283
- sh 303
- sparc 292
- sparc64 292
- xtensa 293
Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/linkat