linux-user/elfload: Unprotect regions before core dump
commit41689bb30cb55f411a4d9f7a31f3e601292d3be2
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 27 Feb 2024 18:25:22 +0000 (27 08:25 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 29 Feb 2024 21:03:52 +0000 (29 11:03 -1000)
tree9272a16e68c8693b3fac4655cadc25ff152e4af6
parent50e33f52fbc476f71eb006e0c8d3fa355539c3e1
linux-user/elfload: Unprotect regions before core dump

By unprotecting regions, we re-instate writability and
unify regions that have been split, which may reduce
the total number of regions.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
linux-user/elfload.c