commit | bd2331b3757f5b2ab4aafc591b55fa2a592abf7c | [log] [tgz] |
---|---|---|
author | KP Singh <kpsingh@kernel.org> | Mon May 09 21:49:05 2022 +0000 |
committer | Alexei Starovoitov <ast@kernel.org> | Tue May 10 10:42:08 2022 -0700 |
tree | 48dde41cb00f9f949fbc4647c7b25285631c7e09 | |
parent | a82ebb093fc7bdd88f8df17b2fa303d7535fa43b [diff] |
bpftool: bpf_link_get_from_fd support for LSM programs in lskel bpf_link_get_from_fd currently returns a NULL fd for LSM programs. LSM programs are similar to tracing programs and can also use skel_raw_tracepoint_open. Signed-off-by: KP Singh <kpsingh@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20220509214905.3754984-1-kpsingh@kernel.org