syscall.sh / loongarch64 / mknodat

mknodat

create a special or ordinary file

sys_mknodat(int dfd, const char *filename, umode_t mode, unsigned dev)
number33 (0x21)
abicommon
entry pointsys_mknodat
sinceLinux 5.19
man pagemknodat(2)
sourceelixir.bootlin.com

Registers

registervalue
a733, the syscall number
a0int dfd
a1const char *filename
a2umode_t mode
a3unsigned dev
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/mknodat