diff options
author | Andrii Nakryiko <[email protected]> | 2024-08-29 10:42:29 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-09-11 09:58:31 -0700 |
commit | cdbb44f9a74fe7d01090ae492672e89cf7d83ce5 (patch) | |
tree | a3ed9c4a830d035269c1a187a8bef08d262b5341 /kernel/bpf/stackmap.c | |
parent | ad41251c290dfe3c01472c94d2439a59de23fe97 (diff) |
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 <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions