diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2024-08-29 20:42:29 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-09-11 19:58:31 +0300 |
commit | cdbb44f9a74fe7d01090ae492672e89cf7d83ce5 (patch) | |
tree | a3ed9c4a830d035269c1a187a8bef08d262b5341 /kernel/bpf/stackmap.c | |
parent | ad41251c290dfe3c01472c94d2439a59de23fe97 (diff) | |
download | linux-cdbb44f9a74fe7d01090ae492672e89cf7d83ce5.tar.xz |
lib/buildid: don't limit .note.gnu.build-id to the first page in ELF
With freader we don't need to restrict ourselves to a single page, so
let's allow ELF notes to be at any valid position with the file.
We also merge parse_build_id() and parse_build_id_buf() as now the only
difference between them is note offset overflow, which makes sense to
check in all situations.
Reviewed-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20240829174232.3133883-8-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions