exyi / anyexec2C

converts anything executable to C, C# or Python code
18 stars 2 forks source link

Potential solution to full in-memory startup #8

Closed vakabus closed 4 years ago

vakabus commented 4 years ago

memfd_create syscall creates an anonymous file stored in RAM. fexecve syscall can execute a file descriptor or we could execute the /proc/self/fd/FD_NUMBER symbolic file by a normal exec. This could make startup time considerably shorter.

exyi commented 4 years ago

Nice! This would also remove the clutter we create in the working directory and remove the need for write rights on disk :)