syscall.sh / x64 / mknod

mknod

create a special or ordinary file

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

Registers

registervalue
rax133, the syscall number
rdiconst char *filename
rsiumode_t mode
rdxunsigned dev
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x64/mknod