syscall.sh / sparc64 / mknod
mknod
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 5.0 |
| man page | mknod(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 14, the syscall number |
o0 | const char *filename |
o1 | umode_t mode |
o2 | unsigned dev |
o0 | the return value |
Then run t 0x6d to enter the kernel.
Same syscall on other architectures
- x64 133
- x86 14
- arm 14
- x32 1073741957
- ppc64 14
- ppc 14
- s390x 14
- mips64 5131
- mipsn32 6131
- mipso32 4014
- alpha 14
- m68k 14
- microblaze 14
- parisc 14
- sh 14
- sparc 14
- xtensa 36
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/mknod