syscall.sh / x86 / mknodat

mknodat

create a special or ordinary file

sys_mknodat(int dfd, const char *filename, umode_t mode, unsigned dev)
number297 (0x129)
abii386
entry pointsys_mknodat
sinceLinux 3.3
man pagemknodat(2)
sourceelixir.bootlin.com

Registers

registervalue
eax297, the syscall number
ebxint dfd
ecxconst char *filename
edxumode_t mode
esiunsigned 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/mknodat