mkdirat on nds32
create a directory
sys_mkdirat(int dfd, const char *pathname, umode_t mode)
| number | 34 (0x22) |
|---|---|
| abi | common |
| entry point | sys_mkdirat |
| since | Linux 4.17 or earlier (4.17 is the first release scanned for nds32) |
| man page | mkdirat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 34, the syscall number |
r0 | int dfd |
r1 | const char *pathname |
r2 | umode_t mode |
r0 | the return value |
Then run syscall to enter the kernel.
This architecture was removed from the Linux kernel in Linux 5.18. The newest release with a syscall table here is Linux 5.17. 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
- nios2 34
- openrisc 34
- parisc 276
- score 34, removed in 4.17
- sh 296
- sparc 285
- sparc64 285
- tilegx 34, removed in 4.17
- tilepro 34, removed in 4.17
- xtensa 289
Get this as JSON: https://api.syscall.sh/v2/syscalls/nds32/mkdirat?kernel=all