Re: [PATCHv5 bpf-next 0/7] bpf: Tracing and lsm programs re-attach

2021-04-15 Thread Jiri Olsa
On Thu, Apr 15, 2021 at 04:45:24PM -0700, Alexei Starovoitov wrote: > On Wed, Apr 14, 2021 at 12:52 PM Jiri Olsa wrote: > > > > 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 tram

Re: [PATCHv5 bpf-next 0/7] bpf: Tracing and lsm programs re-attach

2021-04-15 Thread Alexei Starovoitov
On Wed, Apr 14, 2021 at 12:52 PM Jiri Olsa wrote: > > 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

[PATCHv5 bpf-next 0/7] bpf: Tracing and lsm programs re-attach

2021-04-14 Thread Jiri Olsa
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