execve on score
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 score) |
| man page | execve(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 221, the syscall number |
r4 | const char *filename |
r5 | const char *const *argv |
r6 | const char *const *envp |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
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
- 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/score/execve?kernel=all