mknod on m32r
create a special or ordinary file
sys_mknod(const char *filename, umode_t mode, unsigned dev)
| number | 14 (0xe) |
|---|---|
| abi | common |
| entry point | sys_mknod |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for m32r) |
| man page | mknod(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 14, the syscall number |
r0 | const char *filename |
r1 | umode_t mode |
r2 | unsigned dev |
r0 | the return value |
Then run trap #2 to enter the kernel.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 133
- x86 14
- arm 14
- ia32 14
- x32 1073741957
- ppc64 14
- ppc 14
- s390x 14
- mips64 5131
- mipsn32 6131
- mipso32 4014
- alpha 14
- blackfin 14, removed in 4.17
- cris 14, removed in 4.17
- frv 14, removed in 4.17
- ia64 1037, removed in 6.7
- m68k 14
- microblaze 14
- mn10300 14, removed in 4.17
- parisc 14
- score 1027, removed in 4.17
- sh 14
- sparc 14
- sparc64 14
- xtensa 36
Get this as JSON: https://api.syscall.sh/v2/syscalls/m32r/mknod?kernel=all