-
由 Alexei Starovoitov 提交于
mainline inclusion from mainline-5.14-rc1 commit af2ac3e1 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I5EUVD CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=af2ac3e13e45752af03c8a933f9b6e18841b128b ------------------------------------------------- With the help from bpfptr_t prepare relevant bpf syscall commands to be used from kernel and user space. Signed-off-by: NAlexei Starovoitov <ast@kernel.org> Signed-off-by: NDaniel Borkmann <daniel@iogearbox.net> Acked-by: NAndrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20210514003623.28033-4-alexei.starovoitov@gmail.com (cherry picked from commit af2ac3e1) Signed-off-by: NWang Yufen <wangyufen@huawei.com> Conflicts: kernel/bpf/syscall.c Signed-off-by: NWang Yufen <wangyufen@huawei.com>
1752e668