Re: [PATCH 17/17] bsd-user: copy linux-user target_mprotect impl

2024-08-04 Thread Richard Henderson
On 8/3/24 09:56, Warner Losh wrote: Now that we're closer to the linux-user target_mprotect code, go ahead and grab the rest of the implementation. This moves from a stard, end impl to a start, last which will allow last page mapping, etc. This also moves to a more general algorithm. We're close

[PATCH 17/17] bsd-user: copy linux-user target_mprotect impl

2024-08-02 Thread Warner Losh
Now that we're closer to the linux-user target_mprotect code, go ahead and grab the rest of the implementation. This moves from a stard, end impl to a start, last which will allow last page mapping, etc. This also moves to a more general algorithm. We're close enough that this jump isn't so large,