4 releases
0.2.0 | Jan 6, 2024 |
---|---|
0.1.2 | Sep 18, 2023 |
0.1.1 | Aug 13, 2023 |
0.1.0 | Jul 20, 2023 |
#50 in #userspace
37 downloads per month
17KB
453 lines
userland-execve
An implementation of execve()
in user space.
This works by mapping the ELF executable
(and interpreter, such as ld-linux.so.2
) into memory,
creating a stack for it
(containing the auxiliary vector, arguments, and environment variables),
and then jumping to the entry point with the new stack.
Dependencies
~2.5MB
~52K SLoC