syscall.sh / x32 / mknod

mknod

create a special or ordinary file

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

Registers

registervalue
rax1073741957, 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/x32/mknod