syscall.sh / mips64 / mkdir
mkdir
create a directory
sys_mkdir(const char *pathname, umode_t mode)
| number | 5081 (0x13d9) |
|---|---|
| abi | n64 |
| entry point | sys_mkdir |
| since | Linux 5.0 |
| man page | mkdir(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 5081, the syscall number |
a0 | const char *pathname |
a1 | umode_t mode |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 83
- x86 39
- arm 39
- x32 1073741907
- ppc64 39
- ppc 39
- s390x 39
- mipsn32 6081
- mipso32 4039
- alpha 136
- m68k 39
- microblaze 39
- parisc 39
- sh 39
- sparc 136
- sparc64 136
- xtensa 40
Get this as JSON: https://api.syscall.sh/v2/syscalls/mips64/mkdir