Message ID | 20220621204642.2891979-4-kpsingh@kernel.org (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | BPF |
Headers | show |
Series | Add bpf_getxattr | expand |
diff --git a/kernel/bpf/btf.c b/kernel/bpf/btf.c index 6608e8a0c5ca..c48566dc86fe 100644 --- a/kernel/bpf/btf.c +++ b/kernel/bpf/btf.c @@ -7261,6 +7261,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;
In preparation for the addition of bpf_getxattr kfunc. Signed-off-by: KP Singh <kpsingh@kernel.org> --- kernel/bpf/btf.c | 1 + 1 file changed, 1 insertion(+)