[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 19/43] accel/tcg: Support split-wx for darwin/iOS with vm_
From: |
Richard Henderson |
Subject: |
Re: [PATCH v4 19/43] accel/tcg: Support split-wx for darwin/iOS with vm_remap |
Date: |
Tue, 5 Jan 2021 06:57:17 -1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 1/4/21 8:02 PM, Joelle van Dyne wrote:
> Guarding MAP_JIT with
>
> if (!splitwx) {
> flags |= MAP_JIT;
> }
>
> is better because MAP_JIT tells the kernel that we want a RWX mapping
> which is not the case. On iOS, special entitlements are needed for
> MAP_JIT.
Thanks, fixed.
r~