Hacker News new | past | comments | ask | show | jobs | submit login

The memory mapping is the same before and after execve(2), so I don't think it needs to be copied. I'll take a look though.



Maybe only a few pages remain as programs don't inherit memory from their parents. It could be done for those strings but consider that mappings are in 4k pages (so the rest of the page would have to be cleared to 0).




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: