syscall.sh / sparc / symlinkat
symlinkat
make a new name for a file
sys_symlinkat(const char *oldname, int newdfd, const char *newname)
| number | 293 (0x125) |
|---|---|
| abi | common |
| entry point | sys_symlinkat |
| since | Linux 5.0 |
| man page | symlinkat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 293, the syscall number |
o0 | const char *oldname |
o1 | int newdfd |
o2 | const char *newname |
o0 | the return value |
Then run t 0x10 to enter the kernel.
Same syscall on other architectures
- x64 266
- x86 304
- arm64 36
- 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
- sparc64 293
- xtensa 294
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/symlinkat