syscall.sh / alpha / mkdir

mkdir

create a directory

sys_mkdir(const char *pathname, umode_t mode)
number136 (0x88)
abicommon
entry pointsys_mkdir
sinceLinux 5.0
man pagemkdir(2)
sourceelixir.bootlin.com

Registers

registervalue
v0136, the syscall number
a0const char *pathname
a1umode_t mode
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/mkdir