mkdirat on score
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 score) |
| man page | mkdirat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 34, the syscall number |
r4 | int dfd |
r5 | const char *pathname |
r6 | umode_t mode |
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 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
- 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/score/mkdirat?kernel=all