Re: [PATCH 09/17] prmem: hardened usercopy

2018-10-29 Thread Igor Stoppa
On 29/10/2018 11:45, Chris von Recklinghausen wrote: [...] Could you add code somewhere (lkdtm driver if possible) to demonstrate the issue and verify the code change? Sure. Eventually, I'd like to add test cases for each functionality. I didn't do it right away for those parts which are

Re: [PATCH 09/17] prmem: hardened usercopy

2018-10-29 Thread Igor Stoppa
On 29/10/2018 11:45, Chris von Recklinghausen wrote: [...] Could you add code somewhere (lkdtm driver if possible) to demonstrate the issue and verify the code change? Sure. Eventually, I'd like to add test cases for each functionality. I didn't do it right away for those parts which are

Re: [PATCH 09/17] prmem: hardened usercopy

2018-10-29 Thread Chris von Recklinghausen
On 10/23/2018 05:34 PM, Igor Stoppa wrote: > Prevent leaks of protected memory to userspace. > The protection from overwrited from userspace is already available, once > the memory is write protected. > > Signed-off-by: Igor Stoppa > CC: Kees Cook > CC: Chris von Recklinghausen > CC:

Re: [PATCH 09/17] prmem: hardened usercopy

2018-10-29 Thread Chris von Recklinghausen
On 10/23/2018 05:34 PM, Igor Stoppa wrote: > Prevent leaks of protected memory to userspace. > The protection from overwrited from userspace is already available, once > the memory is write protected. > > Signed-off-by: Igor Stoppa > CC: Kees Cook > CC: Chris von Recklinghausen > CC:

[PATCH 09/17] prmem: hardened usercopy

2018-10-23 Thread Igor Stoppa
Prevent leaks of protected memory to userspace. The protection from overwrited from userspace is already available, once the memory is write protected. Signed-off-by: Igor Stoppa CC: Kees Cook CC: Chris von Recklinghausen CC: linux...@kvack.org CC: linux-kernel@vger.kernel.org ---

[PATCH 09/17] prmem: hardened usercopy

2018-10-23 Thread Igor Stoppa
Prevent leaks of protected memory to userspace. The protection from overwrited from userspace is already available, once the memory is write protected. Signed-off-by: Igor Stoppa CC: Kees Cook CC: Chris von Recklinghausen CC: linux...@kvack.org CC: linux-kernel@vger.kernel.org ---