diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2018-11-02 21:39:02 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-11-02 21:39:03 +0100 |
commit | b0970f235f1ff68a49fd36fdbd8a80dd92bb7b04 (patch) | |
tree | 83330b3be066e445313c856462efc8e11cdb71b8 /lib/test_overflow.c | |
parent | 7de414a9dd91426318df7b63da024b2b07e53df5 (diff) | |
parent | ff1889fc531f582f902175c0acc80321af540b24 (diff) |
Merge branch 'bpf-accurate-prog-addr'
Song Liu says:
====================
Changes v1 -> v2:
1. Added main program length to bpf_prog_info->jited_fun_lens (3/3).
2. Updated commit message of 1/3 and 2/3 with more background about the
address masking, and why it is still save after the changes.
3. Replace "ulong" with "unsigned long".
This set improves bpf program address showed in /proc/kallsyms and in
bpf_prog_info. First, real program address is showed instead of page
address. Second, when there is no subprogram, bpf_prog_info->jited_ksyms
and bpf_prog_info->jited_fun_lens returns the main prog address and
length.
====================
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions