Re: [PATCH 9/9] bpf: make bpf_check_uarg_tail_zero() use check_zeroed_user()

From: Alexei Starovoitov
Date: Sun May 31 2020 - 12:35:43 EST


On Sat, May 30, 2020 at 12:28:14AM +0100, Al Viro wrote:
> From: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
>
> ... rather than open-coding it, and badly, at that.
>
> Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
> ---
> kernel/bpf/syscall.c | 25 ++++++-------------------
> 1 file changed, 6 insertions(+), 19 deletions(-)

lgtm
Acked-by: Alexei Starovoitov <ast@xxxxxxxxxx>