execve on metag
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.9 or earlier (3.9 is the first release scanned for metag) |
| man page | execve(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 221, the syscall number |
D1Ar1 | const char *filename |
D0Ar2 | const char *const *argv |
D1Ar3 | const char *const *envp |
D0Re0 | the return value |
Then run SWITCH #0x440001 to enter the kernel.
Values wider than one register are packed into consecutive arguments.
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
- 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
- tilepro 221, removed in 4.17
- xtensa 117
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/execve?kernel=all