by al2o3cr · 5y ago · 0 comments
The BEAM does not promise (or provide) secure isolation between processes within a single VM. It's even called out in their bug report policy:
https://github.com/erlang/otp/wiki/FAQ:-What-kind-of-patches...
"An Erlang process does not have a region of mutual exclusion, which can lead to internal conflicts within processes."
I don't follow the use of "mutual exclusion" in this statement; the only thing that can write to a process's stack or heap is the process - what kind of "conflicts" do you mean?
"For example, in Erlang it is necessary for application programmers to explicitly code a request handler for each re-entry into the region of mutual exclusion"
This sentence doesn't help either, because the previous statement was that the processes don't _have_ the region this objects to writing handlers for entering...
mutual exclusion (which can have holes), which is explained
here:
https://papers.ssrn.com/abstract=3459566
Is there a rigorous formalization of Erlang message passing?