syscall.sh / xtensa / mknod

mknod

create a special or ordinary file

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

Registers

registervalue
a236, the syscall number
a6const char *filename
a3umode_t mode
a4unsigned dev
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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