+6
−14
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
In PPC_PTRACE_GETHWDBGINFO and PPC_PTRACE_SETHWDEBUG we do an
access_ok() check and then __copy_{from,to}_user().
Instead we should just use copy_{from,to}_user() which does all that
for us and is less error prone.
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by:
Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by:
Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by:
Michael Ellerman <mpe@ellerman.id.au>