creat on m32r
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 3.3 or earlier (3.3 is the first release scanned for m32r) |
| man page | creat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 8, the syscall number |
r0 | const char *pathname |
r1 | umode_t mode |
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 85
- x86 8
- arm 8
- ia32 8
- x32 1073741909
- ppc64 8
- ppc 8
- s390x 8
- mips64 5083
- mipsn32 6083
- mipso32 4008
- blackfin 8, removed in 4.17
- cris 8, removed in 4.17
- frv 8, removed in 4.17
- ia64 1030, removed in 6.7
- m68k 8
- microblaze 8
- mn10300 8, removed in 4.17
- parisc 8
- score 1064, removed in 4.17
- sh 8
- sparc 8
- sparc64 8
- xtensa 21
Get this as JSON: https://api.syscall.sh/v2/syscalls/m32r/creat?kernel=all