Re: [PATCH v6 00/10] x86/alternative: text_poke() fixes

2018-11-29 Thread Peter Zijlstra
On Mon, Nov 26, 2018 at 05:46:09PM +, Nadav Amit wrote: > One small request - on [02/10], since after your review the patch changed to > be the single line that you provided, I set you as a co-developer. IIUC this > requires your signed-off-by. I really wouldn't know. Feel free to do as you

Re: [PATCH v6 00/10] x86/alternative: text_poke() fixes

2018-11-29 Thread Peter Zijlstra
On Mon, Nov 26, 2018 at 05:46:09PM +, Nadav Amit wrote: > One small request - on [02/10], since after your review the patch changed to > be the single line that you provided, I set you as a co-developer. IIUC this > requires your signed-off-by. I really wouldn't know. Feel free to do as you

Re: [PATCH v6 00/10] x86/alternative: text_poke() fixes

2018-11-26 Thread Nadav Amit
> On Nov 26, 2018, at 2:32 AM, Peter Zijlstra wrote: > > On Tue, Nov 20, 2018 at 12:35:35PM -0800, Nadav Amit wrote: > >> Nadav Amit (9): >> Fix "x86/alternatives: Lockdep-enforce text_mutex in text_poke*()" >> x86/jump_label: Use text_poke_early() during early init >> fork: provide a

Re: [PATCH v6 00/10] x86/alternative: text_poke() fixes

2018-11-26 Thread Nadav Amit
> On Nov 26, 2018, at 2:32 AM, Peter Zijlstra wrote: > > On Tue, Nov 20, 2018 at 12:35:35PM -0800, Nadav Amit wrote: > >> Nadav Amit (9): >> Fix "x86/alternatives: Lockdep-enforce text_mutex in text_poke*()" >> x86/jump_label: Use text_poke_early() during early init >> fork: provide a

Re: [PATCH v6 00/10] x86/alternative: text_poke() fixes

2018-11-26 Thread Peter Zijlstra
On Tue, Nov 20, 2018 at 12:35:35PM -0800, Nadav Amit wrote: > Nadav Amit (9): > Fix "x86/alternatives: Lockdep-enforce text_mutex in text_poke*()" > x86/jump_label: Use text_poke_early() during early init > fork: provide a function for copying init_mm > x86/alternative: initializing

Re: [PATCH v6 00/10] x86/alternative: text_poke() fixes

2018-11-26 Thread Peter Zijlstra
On Tue, Nov 20, 2018 at 12:35:35PM -0800, Nadav Amit wrote: > Nadav Amit (9): > Fix "x86/alternatives: Lockdep-enforce text_mutex in text_poke*()" > x86/jump_label: Use text_poke_early() during early init > fork: provide a function for copying init_mm > x86/alternative: initializing

[PATCH v6 00/10] x86/alternative: text_poke() fixes

2018-11-20 Thread Nadav Amit
This patch-set addresses some issues that might affect the security and the correctness of code patching. The main issue that the patches deal with is the fact that the fixmap PTEs that are used for patching are available for access from other cores and might be exploited. They are not even

[PATCH v6 00/10] x86/alternative: text_poke() fixes

2018-11-20 Thread Nadav Amit
This patch-set addresses some issues that might affect the security and the correctness of code patching. The main issue that the patches deal with is the fact that the fixmap PTEs that are used for patching are available for access from other cores and might be exploited. They are not even