Re: [PATCH 002/109] kernel: use kernel_wait4() instead of sys_wait4()

From: Luis R. Rodriguez
Date: Mon Apr 02 2018 - 12:14:35 EST


On Thu, Mar 29, 2018 at 01:22:39PM +0200, Dominik Brodowski wrote:
> All call sites of sys_wait4() set *rusage to NULL. Therefore, there is
> no need for the copy_to_user() handling of *rusage, and we can use
> kernel_wait4() directly.
>
> This patch is part of a series which removes in-kernel calls to syscalls.
> On this basis, the syscall entry path can be streamlined. For details, see
> http://lkml.kernel.org/r/20180325162527.GA17492@xxxxxxxxxxxxxxxxxxxxxxxxxx
>
> Cc: Luis R. Rodriguez <mcgrof@xxxxxxxxxx>
> Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx>

Acked-by: Luis R. Rodriguez <mcgrof@xxxxxxxxxx>

Luis