syscall.sh / arm64 / symlinkat
symlinkat
make a new name for a file
sys_symlinkat(const char *oldname, int newdfd, const char *newname)
| number | 36 (0x24) |
|---|---|
| abi | common |
| entry point | sys_symlinkat |
| since | Linux 3.7 |
| man page | symlinkat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
x8 | 36, the syscall number |
x0 | const char *oldname |
x1 | int newdfd |
x2 | const char *newname |
x0 | the return value |
Then run svc #0 to enter the kernel.
Same syscall on other architectures
- x64 266
- x86 304
- arm 331
- riscv64 36
- x32 1073742090
- loongarch64 36
- ppc64 295
- ppc 295
- s390x 297
- mips64 5256
- mipsn32 6260
- mipso32 4297
- alpha 459
- arc 36
- csky 36
- hexagon 36
- m68k 297
- microblaze 304
- nios2 36
- openrisc 36
- parisc 284
- sh 304
- sparc 293
- sparc64 293
- xtensa 294
Get this as JSON: https://api.syscall.sh/v2/syscalls/arm64/symlinkat