syscall.sh / arm64 / 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 3.7
man pagemknodat(2)
sourceelixir.bootlin.com

Registers

registervalue
x833, the syscall number
x0int dfd
x1const char *filename
x2umode_t mode
x3unsigned dev
x0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

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