syscall.sh / alpha / mknodat
mknodat
create a special or ordinary file
sys_mknodat(int dfd, const char *filename, umode_t mode, unsigned dev)
| number | 452 (0x1c4) |
|---|---|
| abi | common |
| entry point | sys_mknodat |
| since | Linux 5.0 |
| man page | mknodat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 452, the syscall number |
a0 | int dfd |
a1 | const char *filename |
a2 | umode_t mode |
a3 | unsigned dev |
v0 | the return value |
Then run callsys to enter the kernel.
Same syscall on other architectures
- x64 259
- x86 297
- arm64 33
- arm 324
- riscv64 33
- x32 1073742083
- loongarch64 33
- ppc64 288
- ppc 288
- s390x 290
- mips64 5249
- mipsn32 6253
- mipso32 4290
- arc 33
- csky 33
- hexagon 33
- m68k 290
- microblaze 297
- nios2 33
- openrisc 33
- parisc 277
- sh 297
- sparc 286
- sparc64 286
- xtensa 290
Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/mknodat