Re: [PATCH v3 15/41] accel/tcg: Support split-wx for linux with memfd

2020-11-10 Thread Richard Henderson
On 11/10/20 9:03 AM, Alex Bennée wrote: > > Richard Henderson writes: > >> We cannot use a real temp file, because we would need to find >> a filesystem that does not have noexec enabled. However, a >> memfd is not associated with any filesystem. >> >> Signed-off-by: Richard Henderson > > It

Re: [PATCH v3 15/41] accel/tcg: Support split-wx for linux with memfd

2020-11-10 Thread Alex Bennée
Richard Henderson writes: > We cannot use a real temp file, because we would need to find > a filesystem that does not have noexec enabled. However, a > memfd is not associated with any filesystem. > > Signed-off-by: Richard Henderson It looks like this breaks --enable-tcg-interpreter: FA

[PATCH v3 15/41] accel/tcg: Support split-wx for linux with memfd

2020-11-05 Thread Richard Henderson
We cannot use a real temp file, because we would need to find a filesystem that does not have noexec enabled. However, a memfd is not associated with any filesystem. Signed-off-by: Richard Henderson --- accel/tcg/translate-all.c | 84 +++ 1 file changed, 76 i