]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: make bpf_check_uarg_tail_zero() use check_zeroed_user()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 8 May 2020 04:16:31 +0000 (00:16 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 3 Jun 2020 20:59:45 +0000 (16:59 -0400)
commit1f585b37c531035129c45e2425cccf6cad843264
tree9d107c7f803e1692da849422ff0afbaea060516d
parent86a5e71979dc8190d9686674ead1f268c027296c
bpf: make bpf_check_uarg_tail_zero() use check_zeroed_user()

... rather than open-coding it, and badly, at that.

Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
kernel/bpf/syscall.c