Skip to content

io12/userland-execve-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.