enarx / enarx

Enarx: Confidential Computing with WebAssembly
https://enarx.dev/
Apache License 2.0
1.3k stars 140 forks source link

[Bug]: VMA's do not get merged on `brk()` #1945

Open jarkkojs opened 2 years ago

jarkkojs commented 2 years ago

Is there an existing issue for this?

Code of Conduct

Current Behaviour

Every brk() generates a new VMA.

See this discussion:

https://lore.kernel.org/linux-sgx/Yp2q68qYtdpR+Z+T@iki.fi/

Expected Behaviour

There should be one VMA for all brk() calls.

Environment Information

-

Steps To Reproduce

No response

jarkkojs commented 2 years ago

@npmccallum, @platten: Not critical for the release but should be fixed for the +1 release. I.e. does not cause functional issues.

jarkkojs commented 2 years ago

It's a "feature", not a bug: https://lore.kernel.org/linux-sgx/Yp2q68qYtdpR+Z+T@iki.fi/. I.e. brk needs reimplementation in enarx to fix this.