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

2018-04-02 Thread Luis R. Rodriguez
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 cal

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

2018-03-29 Thread Dominik Brodowski
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