bpf: Expose check_uarg_tail_zero()
authorMartin KaFai Lau <kafai@fb.com>
Tue, 22 May 2018 22:03:31 +0000 (15:03 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 23 May 2018 10:03:31 +0000 (12:03 +0200)
commitdcab51f19b291d5ee23724c51b0a3a597c16451a
tree2135e977593fc50a3ee57d65a0994bb5baa8117d
parent3fb48d881dbe2ef5290d30c5e0a601e98c0be2b9
bpf: Expose check_uarg_tail_zero()

This patch exposes check_uarg_tail_zero() which will
be reused by a later BTF patch.  Its name is changed to
bpf_check_uarg_tail_zero().

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
include/linux/bpf.h
kernel/bpf/syscall.c