e5138f43c9
[ Upstream commit 44382b3ed6b2787710c8ade06c0e97f5970a47c8 ]
err is a 32-bit integer, but elf_update returns an off_t, which is 64-bit
at least on 64-bit platforms. If symbols_patch is called on a binary between
2-4GB in size, the result will be negative when cast to a 32-bit integer,
which the code assumes means an error occurred. This can wrongly trigger
build failures when building very large kernel images.
Fixes:
|
||
---|---|---|
.. | ||
bpftool | ||
resolve_btfids | ||
runqslower | ||
.gitignore | ||
Makefile | ||
bpf_asm.c | ||
bpf_dbg.c | ||
bpf_exp.l | ||
bpf_exp.y | ||
bpf_jit_disasm.c |