Merge branch 'bpf: Tracing and lsm programs re-attach'
authorAlexei Starovoitov <ast@kernel.org>
Mon, 26 Apr 2021 04:09:03 +0000 (21:09 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 26 Apr 2021 04:09:03 +0000 (21:09 -0700)
commit87bd9e602e39585c5280556a2b6a6363bb334257
tree472342bc1d5691d102a741505e46de688651fa40
parent0ea1041bfa3aa2971f858edd9e05477c2d3d54a0
parent7bb2cc19aee8f7150851bb8668c9ff655a5e7678
Merge branch 'bpf: Tracing and lsm programs re-attach'

Jiri Olsa says:

====================

hi,
while adding test for pinning the module while there's
trampoline attach to it, I noticed that we don't allow
link detach and following re-attach for trampolines.
Adding that for tracing and lsm programs.

You need to have patch [1] from bpf tree for test module
attach test to pass.

v5 changes:
  - fixed missing hlist_del_init change
  - fixed several ASSERT calls
  - added extra patch for missing ';'
  - added ASSERT macros to lsm test
  - added acks

thanks,
jirka

[1] https://lore.kernel.org/bpf/20210326105900.151466-1-jolsa@kernel.org/
====================

Signed-off-by: Alexei Starovoitov <ast@kernel.org>