]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bpf-core-fixes'
authorDaniel Borkmann <daniel@iogearbox.net>
Fri, 13 Mar 2020 22:30:53 +0000 (23:30 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 13 Mar 2020 22:31:14 +0000 (23:31 +0100)
commit4d5999e80b7bc3f1d983a2df4c05a70ea39cf62c
tree46e7397710281de9f743512c43d65bc279ab4a51
parent6110d381c0c89482917021e80bff82d57034bb81
parentb26d7b039eedfaf1a2ca87ebff6783efb3ef462e
Merge branch 'bpf-core-fixes'

Andrii Nakryiko says:

====================
This patch set fixes bug in CO-RE relocation candidate finding logic, which
currently allows matching against forward declarations, functions, and other
named types, even though it makes no sense to even attempt. As part of
verifying the fix, add test using vmlinux.h with preserve_access_index
attribute and utilizing struct pt_regs heavily to trace nanosleep syscall
using 5 different types of tracing BPF programs.

This test also demonstrated problems using struct pt_regs in syscall
tracepoints and required a new set of macro, which were added in patch #3
into bpf_tracing.h.

Patch #1 fixes annoying issue with selftest failure messages being out of
sync.

v1->v2:
  - drop unused handle__probed() function (Martin).
====================

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>