3 ms·
I've seen an argument for immediately execing and not marking the whole mutable process VA space as 'trap on write', including the thread stack that you're abou
by monocasa 5y ago
I've seen an argument for immediately execing and not marking the whole mutable process VA space as 'trap on write', including the thread stack that you're about immediately write to if you're going to throw that work away and exec(). There's also 'I want support cheap forks on a nommu system and vforking is easier to retrofit in'.
- cryptonector 5y agoThat is the argument for vfork(), and it's been the argument for it since it was incepted, decades ago.