syscall.sh / openrisc / mkdirat

mkdirat

create a directory

sys_mkdirat(int dfd, const char *pathname, umode_t mode)
number34 (0x22)
abicommon
entry pointsys_mkdirat
sinceLinux 3.7
man pagemkdirat(2)
sourceelixir.bootlin.com

Registers

registervalue
r1134, the syscall number
r3int dfd
r4const char *pathname
r5umode_t mode
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/openrisc/mkdirat