mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-28 21:24:26 +00:00
The `lookup_translation` function got introduced and is used only in the context to proof whether a cache maintainance function can be executed safely by the kernel. Unfortunately, it did not checked write permissions, which can lead to permission faults. This commit restricts the lookup function to only succeed when the target page is writeable. Consequently, the lookup function gets renamed to `lookup_rw_translation`. Fix genodelabs/genode#4348