syscall.sh / ppc / symlinkat
symlinkat
make a new name for a file
sys_symlinkat(const char *oldname, int newdfd, const char *newname)
| number | 295 (0x127) |
|---|---|
| abi | common |
| entry point | sys_symlinkat |
| since | Linux 5.0 |
| man page | symlinkat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 295, the syscall number |
r3 | const char *oldname |
r4 | int newdfd |
r5 | const char *newname |
r3 | the return value |
Then run sc 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
- 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/ppc/symlinkat