Thanks Peter for your information.
I was hit by the bug when trying to compile bazel (a build system open-sourced by Google: https://bazel.build) and the code is at https://github.com/bazelbuild/bazel/blob/master/third_party/ijar/mapped_file_unix.cc#L116
Of course I can send PR to fix that in bazel source, but I would say it is not true that "in practice no guest binaries set up memory that is only writable and can't be read". It is legitimate requirement and coding practice.
Thanks Peter for your information.
I was hit by the bug when trying to compile bazel (a build system open-sourced by Google: https:/ /bazel. build) and the code is at https:/ /github. com/bazelbuild/ bazel/blob/ master/ third_party/ ijar/mapped_ file_unix. cc#L116
Of course I can send PR to fix that in bazel source, but I would say it is not true that "in practice no guest binaries set up memory that is only writable and can't be read". It is legitimate requirement and coding practice.