“1da177e4c3f41524e886b7f1b8a0c1fc7321cac2”上不存在“arch/unicore32/kernel/init_task.c”
bpf: Add per-program recursion prevention mechanism
mainline inclusion from mainline-5.12-rc1 commit ca06f55b 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=ca06f55b90020cd97f4cc6d52db95436162e7dcf ------------------------------------------------- Since both sleepable and non-sleepable programs execute under migrate_disable add recursion prevention mechanism to both types of programs when they're executed via bpf trampoline. 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/20210210033634.62081-5-alexei.starovoitov@gmail.com (cherry picked from commit ca06f55b) Signed-off-by: NWang Yufen <wangyufen@huawei.com>
Showing
想要评论请 注册 或 登录