execve on tilepro
execute program
sys_execve(const char *filename, const char *const *argv, const char *const *envp)
| number | 221 (0xdd) |
|---|---|
| abi | common |
| entry point | sys_execve |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | execve(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 221, the syscall number |
r0 | const char *filename |
r1 | const char *const *argv |
r2 | const char *const *envp |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
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 59
- x86 11
- arm64 221
- arm 11
- riscv64 221
- ia32 11
- x32 1073742344
- loongarch64 221
- ppc64 11
- ppc 11
- s390x 11
- mips64 5057
- mipsn32 6057
- mipso32 4011
- alpha 59
- arc 221
- blackfin 11, removed in 4.17
- cris 11, removed in 4.17
- csky 221
- frv 11, removed in 4.17
- hexagon 221
- ia64 1033, removed in 6.7
- m32r 11, removed in 4.17
- m68k 11
- metag 221, removed in 4.17
- microblaze 11
- mn10300 11, removed in 4.17
- nds32 221, removed in 5.18
- nios2 221
- openrisc 221
- parisc 11
- score 221, removed in 4.17
- sh 11
- sparc 59
- sparc64 59
- tilegx 221, removed in 4.17
- xtensa 117
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/execve?kernel=all