syscall.sh / mipso32 / execveat
execveat
execute program relative to a directory file descriptor
sys_execveat(int dfd, const char *filename, const char *const *argv, const char *const *envp, int flags)
| number | 4356 (0x1104) |
|---|---|
| abi | o32 |
| entry point | sys_execveat |
| since | Linux 5.0 |
| man page | execveat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 4356, the syscall number |
a0 | int dfd |
a1 | const char *filename |
a2 | const char *const *argv |
a3 | const char *const *envp |
sp+16 | int flags |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 322
- x86 358
- arm64 281
- arm 387
- riscv64 281
- x32 1073742369
- loongarch64 281
- ppc64 362
- ppc 362
- s390x 354
- mips64 5316
- mipsn32 6320
- alpha 513
- arc 281
- csky 281
- hexagon 281
- m68k 355
- microblaze 388
- nios2 281
- openrisc 281
- parisc 342
- sh 376
- sparc 350
- sparc64 350
- xtensa 341
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/execveat