syscall.sh / sparc64 / creat
creat
open and possibly create a file
sys_creat(const char *pathname, umode_t mode)
| number | 8 (0x8) |
|---|---|
| abi | common |
| entry point | sys_creat |
| since | Linux 5.0 |
| man page | creat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 8, the syscall number |
o0 | const char *pathname |
o1 | umode_t mode |
o0 | the return value |
Then run t 0x6d to enter the kernel.
Same syscall on other architectures
- x64 85
- x86 8
- arm 8
- x32 1073741909
- ppc64 8
- ppc 8
- s390x 8
- mips64 5083
- mipsn32 6083
- mipso32 4008
- m68k 8
- microblaze 8
- parisc 8
- sh 8
- sparc 8
- xtensa 21
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/creat