syscall.sh / x32 / unlinkat
unlinkat
delete a name and possibly the file it refers to
sys_unlinkat(int dfd, const char *pathname, int flag)
| number | 1073742087 (0x40000107) |
|---|---|
| abi | common |
| entry point | sys_unlinkat |
| since | Linux 3.4 |
| man page | unlinkat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073742087, the syscall number |
rdi | int dfd |
rsi | const char *pathname |
rdx | int flag |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 263
- x86 301
- arm64 35
- arm 328
- riscv64 35
- loongarch64 35
- ppc64 292
- ppc 292
- s390x 294
- mips64 5253
- mipsn32 6257
- mipso32 4294
- alpha 456
- arc 35
- csky 35
- hexagon 35
- m68k 294
- microblaze 301
- nios2 35
- openrisc 35
- parisc 281
- sh 301
- sparc 290
- sparc64 290
- xtensa 291
Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/unlinkat