syscall.sh / x86 / mkdirat

mkdirat

create a directory

sys_mkdirat(int dfd, const char *pathname, umode_t mode)
number296 (0x128)
abii386
entry pointsys_mkdirat
sinceLinux 3.3
man pagemkdirat(2)
sourceelixir.bootlin.com

Registers

registervalue
eax296, the syscall number
ebxint dfd
ecxconst char *pathname
edxumode_t mode
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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