Re: [PATCH v4] tcg: Toggle page execution for Apple Silicon

2021-01-23 Thread Roman Bolshakov
On Sat, Jan 23, 2021 at 07:33:37PM +0100, BALATON Zoltan wrote: > On Sat, 23 Jan 2021, Roman Bolshakov wrote: > > On Sat, Jan 23, 2021 at 02:53:49PM +0300, Roman Bolshakov wrote: > > > On Thu, Jan 21, 2021 at 08:47:52AM -1000, Richard Henderson wrote: > > > > From: Roman Bolshakov > > > > > > >

Re: [PATCH v4] tcg: Toggle page execution for Apple Silicon

2021-01-23 Thread BALATON Zoltan
On Sat, 23 Jan 2021, Roman Bolshakov wrote: On Sat, Jan 23, 2021 at 02:53:49PM +0300, Roman Bolshakov wrote: On Thu, Jan 21, 2021 at 08:47:52AM -1000, Richard Henderson wrote: From: Roman Bolshakov Pages can't be both write and executable at the same time on Apple Silicon. macOS provides

Re: [PATCH v4] tcg: Toggle page execution for Apple Silicon

2021-01-23 Thread Roman Bolshakov
On Sat, Jan 23, 2021 at 02:53:49PM +0300, Roman Bolshakov wrote: > On Thu, Jan 21, 2021 at 08:47:52AM -1000, Richard Henderson wrote: > > From: Roman Bolshakov > > > > Pages can't be both write and executable at the same time on Apple > > Silicon. macOS provides public API to switch write

Re: [PATCH v4] tcg: Toggle page execution for Apple Silicon

2021-01-23 Thread Roman Bolshakov
On Thu, Jan 21, 2021 at 08:47:52AM -1000, Richard Henderson wrote: > From: Roman Bolshakov > > Pages can't be both write and executable at the same time on Apple > Silicon. macOS provides public API to switch write protection [1] for > JIT applications, like TCG. > > 1. >

Re: [PATCH v4] tcg: Toggle page execution for Apple Silicon

2021-01-21 Thread Alexander Graf
On 21.01.21 21:01, Alexander Graf wrote: > On 21.01.21 19:47, Richard Henderson wrote: >> From: Roman Bolshakov >> >> Pages can't be both write and executable at the same time on Apple >> Silicon. macOS provides public API to switch write protection [1] for >> JIT applications, like TCG. >> >>

Re: [PATCH v4] tcg: Toggle page execution for Apple Silicon

2021-01-21 Thread Alexander Graf
On 21.01.21 19:47, Richard Henderson wrote: > From: Roman Bolshakov > > Pages can't be both write and executable at the same time on Apple > Silicon. macOS provides public API to switch write protection [1] for > JIT applications, like TCG. > > 1. >