Thread (15 messages) 15 messages, 5 authors, 2021-04-26

Re: [PATCHv5 bpf-next 1/7] bpf: Allow trampoline re-attach for tracing and lsm programs

From: Andrii Nakryiko <hidden>
Date: 2021-04-15 23:22:28
Also in: bpf

On Wed, Apr 14, 2021 at 5:44 PM Jiri Olsa [off-list ref] 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 <redacted>
Reported-by: Julia Lawall <redacted>
Acked-by: Toke Høiland-Jørgensen <redacted>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
---
Acked-by: Andrii Nakryiko <andrii@kernel.org>
 kernel/bpf/syscall.c    | 23 +++++++++++++++++------
 kernel/bpf/trampoline.c |  4 ++--
 2 files changed, 19 insertions(+), 8 deletions(-)
[...]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help