mkdirat on tilepro
create a directory
sys_mkdirat(int dfd, const char *pathname, umode_t mode)
| number | 34 (0x22) |
|---|---|
| abi | common |
| entry point | sys_mkdirat |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | mkdirat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 34, the syscall number |
r0 | int dfd |
r1 | const char *pathname |
r2 | umode_t mode |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
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 258
- x86 296
- arm64 34
- arm 323
- riscv64 34
- ia32 296
- x32 1073742082
- loongarch64 34
- ppc64 287
- ppc 287
- s390x 289
- mips64 5248
- mipsn32 6252
- mipso32 4289
- alpha 451
- arc 34
- blackfin 296, removed in 4.17
- cris 296, removed in 4.17
- csky 34
- frv 296, removed in 4.17
- hexagon 34
- ia64 1282, removed in 6.7
- m32r 296, removed in 4.17
- m68k 289
- metag 34, removed in 4.17
- microblaze 296
- mn10300 297, removed in 4.17
- nds32 34, removed in 5.18
- nios2 34
- openrisc 34
- parisc 276
- score 34, removed in 4.17
- sh 296
- sparc 285
- sparc64 285
- tilegx 34, removed in 4.17
- xtensa 289
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/mkdirat?kernel=all