syscall.sh / microblaze / unlink
unlink
delete a name and possibly the file it refers to
sys_unlink(const char *pathname)
| number | 10 (0xa) |
|---|---|
| abi | common |
| entry point | sys_unlink |
| since | Linux 5.0 |
| man page | unlink(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r12 | 10, the syscall number |
r5 | const char *pathname |
r3 | the return value |
Then run brki r14,8 to enter the kernel.
Same syscall on other architectures
- x64 87
- x86 10
- arm 10
- x32 1073741911
- ppc64 10
- ppc 10
- s390x 10
- mips64 5085
- mipsn32 6085
- mipso32 4010
- alpha 10
- m68k 10
- parisc 10
- sh 10
- sparc 10
- sparc64 10
- xtensa 38
Get this as JSON: https://api.syscall.sh/v2/syscalls/microblaze/unlink