On Wed, Apr 14, 2021 at 5:44 PM Jiri Olsa <jolsa@xxxxxxxxxx> wrote: > > 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@xxxxxxxxx> > Reported-by: Julia Lawall <julia.lawall@xxxxxxx> > Acked-by: Toke Høiland-Jørgensen <toke@xxxxxxxxxx> > Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx> > --- Acked-by: Andrii Nakryiko <andrii@xxxxxxxxxx> > kernel/bpf/syscall.c | 23 +++++++++++++++++------ > kernel/bpf/trampoline.c | 4 ++-- > 2 files changed, 19 insertions(+), 8 deletions(-) > [...]