diff options
author | Jiri Olsa <jolsa@kernel.org> | 2021-04-14 21:51:41 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-04-25 21:09:01 -0700 |
commit | f3a95075549e0e5c36db922caf86847db7a35403 (patch) | |
tree | fda5699680b0734c9371b80de632aef553c93750 /tools/testing/selftests/bpf/prog_tests/module_attach.c | |
parent | 0ea1041bfa3aa2971f858edd9e05477c2d3d54a0 (diff) |
bpf: Allow trampoline re-attach for tracing and lsm programs
Currently we don't allow re-attaching of trampolines. Once
it's detached, it can't be re-attach even when the program
is still loaded.
Adding the possibility to re-attach the loaded tracing and
lsm programs.
Fixing missing unlock with proper cleanup goto jump reported
by Julia.
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: KP Singh <kpsingh@kernel.org>
Link: https://lore.kernel.org/bpf/20210414195147.1624932-2-jolsa@kernel.org
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/module_attach.c')
0 files changed, 0 insertions, 0 deletions