unlinkat on score
delete a name and possibly the file it refers to
sys_unlinkat(int dfd, const char *pathname, int flag)
| number | 35 (0x23) |
|---|---|
| abi | common |
| entry point | sys_unlinkat |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | unlinkat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 35, the syscall number |
r4 | int dfd |
r5 | const char *pathname |
r6 | int flag |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 263
- x86 301
- arm64 35
- arm 328
- riscv64 35
- ia32 301
- x32 1073742087
- loongarch64 35
- ppc64 292
- ppc 292
- s390x 294
- mips64 5253
- mipsn32 6257
- mipso32 4294
- alpha 456
- arc 35
- blackfin 301, removed in 4.17
- cris 301, removed in 4.17
- csky 35
- frv 301, removed in 4.17
- hexagon 35
- ia64 1287, removed in 6.7
- m32r 301, removed in 4.17
- m68k 294
- metag 35, removed in 4.17
- microblaze 301
- mn10300 302, removed in 4.17
- nds32 35, removed in 5.18
- nios2 35
- openrisc 35
- parisc 281
- sh 301
- sparc 290
- sparc64 290
- tilegx 35, removed in 4.17
- tilepro 35, removed in 4.17
- xtensa 291
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/unlinkat?kernel=all