mkdir on m32r
create a directory
sys_mkdir(const char *pathname, umode_t mode)
| number | 39 (0x27) |
|---|---|
| abi | common |
| entry point | sys_mkdir |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for m32r) |
| man page | mkdir(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 39, the syscall number |
r0 | const char *pathname |
r1 | umode_t mode |
r0 | the return value |
Then run trap #2 to enter the kernel.
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 83
- x86 39
- arm 39
- ia32 39
- x32 1073741907
- ppc64 39
- ppc 39
- s390x 39
- mips64 5081
- mipsn32 6081
- mipso32 4039
- alpha 136
- blackfin 39, removed in 4.17
- cris 39, removed in 4.17
- frv 39, removed in 4.17
- ia64 1055, removed in 6.7
- m68k 39
- microblaze 39
- mn10300 39, removed in 4.17
- parisc 39
- score 1030, removed in 4.17
- sh 39
- sparc 136
- sparc64 136
- xtensa 40
Get this as JSON: https://api.syscall.sh/v2/syscalls/m32r/mkdir?kernel=all