syscall.sh / s390x / mkdirat

mkdirat

create a directory

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

Registers

registervalue
r1289, the syscall number
r2int dfd
r3const char *pathname
r4umode_t mode
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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