Message ID | 20220714191455.2101834-3-roberto.sassu@huawei.com (mailing list archive) |
---|---|
State | RFC |
Delegated to: | BPF |
Headers | show |
Series | bpf: Add bpf_verify_pkcs7_signature() kfunc | expand |
diff --git a/kernel/bpf/btf.c b/kernel/bpf/btf.c index 2a28ead92841..e6fc01de7e50 100644 --- a/kernel/bpf/btf.c +++ b/kernel/bpf/btf.c @@ -7241,6 +7241,7 @@ static int bpf_prog_type_to_kfunc_hook(enum bpf_prog_type prog_type) case BPF_PROG_TYPE_STRUCT_OPS: return BTF_KFUNC_HOOK_STRUCT_OPS; case BPF_PROG_TYPE_TRACING: + case BPF_PROG_TYPE_LSM: return BTF_KFUNC_HOOK_TRACING; case BPF_PROG_TYPE_SYSCALL: return BTF_KFUNC_HOOK_SYSCALL;