On Tue, 2018-04-24 at 16:04:25 UTC, Christophe Leroy wrote:
> Use fault_in_pages_readable() to prefault user context
> instead of open coding
>
> Signed-off-by: Christophe Leroy
> Reviewed-by: Mathieu Malaterre
Applied to powerpc next, thanks.
On Tue, Apr 24, 2018 at 6:04 PM, Christophe Leroy
wrote:
> Use fault_in_pages_readable() to prefault user context
> instead of open coding
>
> Signed-off-by: Christophe Leroy
> ---
> v2: using sizeof(*ctx) as size of ctx instead of 1
>
>
Use fault_in_pages_readable() to prefault user context
instead of open coding
Signed-off-by: Christophe Leroy
---
v2: using sizeof(*ctx) as size of ctx instead of 1
arch/powerpc/kernel/signal_32.c | 13 +
1 file changed, 5 insertions(+), 8 deletions(-)