Re: [PATCH 14/14] powerpc/rtas: Consolidate and improve checking for rtas callers

2022-03-15 Thread Laurent Dufour
On 08/03/2022, 14:50:47, Nicholas Piggin wrote: > Add range checking from the rtas syscall, and other error checks > and warnings to kernel callers, so problems can be found and > fixed. > > Signed-off-by: Nicholas Piggin > --- > arch/powerpc/kernel/rtas.c | 23 +-- > 1 file

[PATCH 14/14] powerpc/rtas: Consolidate and improve checking for rtas callers

2022-03-08 Thread Nicholas Piggin
Add range checking from the rtas syscall, and other error checks and warnings to kernel callers, so problems can be found and fixed. Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/rtas.c | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/arch/pow