syscall.sh / x86 / mknod

mknod

create a special or ordinary file

sys_mknod(const char *filename, umode_t mode, unsigned dev)
number14 (0xe)
abii386
entry pointsys_mknod
sinceLinux 3.3
man pagemknod(2)
sourceelixir.bootlin.com

Registers

registervalue
eax14, the syscall number
ebxconst char *filename
ecxumode_t mode
edxunsigned dev
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/mknod