syscall.sh / xtensa / mkdir

mkdir

create a directory

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

Registers

registervalue
a240, the syscall number
a6const char *pathname
a3umode_t mode
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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