No description
Find a file
Andrii Nakryiko d121e1d34b libbpf: Ignore incompatible types with matching name during CO-RE relocation
When finding target type candidates, ignore forward declarations, functions,
and other named types of incompatible kind. Not doing this can cause false
errors.  See [0] for one such case (due to struct pt_regs forward
declaration).

  [0] https://github.com/iovisor/bcc/pull/2806#issuecomment-598543645

Fixes: ddc7c30426 ("libbpf: implement BPF CO-RE offset relocation algorithm")
Reported-by: Wenbo Zhang <ethercflow@gmail.com>
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/20200313172336.1879637-3-andriin@fb.com
2020-03-13 23:30:53 +01:00
arch x86/mm: Rename is_kernel_text to __is_kernel_text 2020-03-13 12:49:51 -07:00
block
certs
crypto
Documentation bpf, doc: Add BPF JIT for RV32G to BPF documentation 2020-03-05 16:13:47 +01:00
drivers mvneta: add XDP ethtool errors stats for TX to driver 2020-03-02 11:29:37 -08:00
fs fs/nsfs.c: Added ns_match 2020-03-12 17:33:11 -07:00
include bpf: Remove bpf_image tree 2020-03-13 12:49:52 -07:00
init
ipc
kernel bpf: Add missing annotations for __bpf_prog_enter() and __bpf_prog_exit() 2020-03-13 20:55:07 +01:00
lib
LICENSES
mm
net bpf: Add bpf_trampoline_ name prefix for DECLARE_BPF_DISPATCHER 2020-03-13 12:49:51 -07:00
samples
scripts bpf_helpers_doc.py: Fix warning when compiling bpftool 2020-03-13 20:53:40 +01:00
security
sound
tools libbpf: Ignore incompatible types with matching name during CO-RE relocation 2020-03-13 23:30:53 +01:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS bpf, doc: Update maintainers for L7 BPF 2020-03-09 22:34:59 +01:00
Makefile
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.