aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/rcutiny.h
diff options
context:
space:
mode:
authorBjörn Töpel <bjorn@rivosinc.com>2023-07-06 16:22:28 +0200
committerAndrii Nakryiko <andrii@kernel.org>2023-07-06 13:39:40 -0700
commite76a014334a6d46a9c21356afa25aa5b81566540 (patch)
tree1bc4937e7daff0717b87cd5e75480a950a984f3d /include/linux/rcutiny.h
parentMerge branch 'bpf: add percpu stats for bpf_map' (diff)
downloadwireguard-linux-e76a014334a6d46a9c21356afa25aa5b81566540.tar.xz
wireguard-linux-e76a014334a6d46a9c21356afa25aa5b81566540.zip
selftests/bpf: Bump and validate MAX_SYMS
BPF tests that load /proc/kallsyms, e.g. bpf_cookie, will perform a buffer overrun if the number of syms on the system is larger than MAX_SYMS. Bump the MAX_SYMS to 400000, and add a runtime check that bails out if the maximum is reached. Signed-off-by: Björn Töpel <bjorn@rivosinc.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Stanislav Fomichev <sdf@google.com> Link: https://lore.kernel.org/bpf/20230706142228.1128452-1-bjorn@kernel.org
Diffstat (limited to 'include/linux/rcutiny.h')
0 files changed, 0 insertions, 0 deletions