summaryrefslogtreecommitdiffstats
path: root/kernel/bpf/btf.c
AgeCommit message (Expand)AuthorFilesLines
2022-06-15bpf: Limit maximum modifier chain length in btf_check_type_tagsKumar Kartikeya Dwivedi1-0/+5
2022-06-07bpf: Fix calling global functions from BPF_PROG_TYPE_EXT programsToke Høiland-Jørgensen1-1/+2
2022-05-20bpf: Allow kfunc in tracing and syscall programs.Benjamin Tissoires1-0/+6
2022-04-26bpf: Compute map_btf_id during build timeMenglong Dong1-40/+0
2022-04-25bpf: Make BTF type match stricter for release argumentsKumar Kartikeya Dwivedi1-4/+10
2022-04-25bpf: Teach verifier about kptr_get kfunc helpersKumar Kartikeya Dwivedi1-5/+53
2022-04-25bpf: Wire up freeing of referenced kptrKumar Kartikeya Dwivedi1-1/+97
2022-04-25bpf: Populate pairs of btf_id and destructor kfunc in btfKumar Kartikeya Dwivedi1-0/+108
2022-04-25bpf: Allow storing referenced kptr in mapKumar Kartikeya Dwivedi1-1/+9
2022-04-25bpf: Tag argument to be released in bpf_func_protoKumar Kartikeya Dwivedi1-6/+5
2022-04-25bpf: Allow storing unreferenced kptr in mapKumar Kartikeya Dwivedi1-21/+146
2022-04-21bpf: Make btf_find_field more genericKumar Kartikeya Dwivedi1-31/+89
2022-04-19bpf: Ensure type tags precede modifiers in BTFKumar Kartikeya Dwivedi1-0/+54
2022-03-28bpf: Fix maximum permitted number of arguments checkYuntao Wang1-1/+1
2022-03-21bpf: Simplify check in btf_parse_hdr()Yuntao Wang1-2/+1
2022-03-20bpf: Check for NULL return from bpf_get_btf_vmlinuxKumar Kartikeya Dwivedi1-1/+5
2022-03-19bpf: Always raise reference in btf_get_module_btfKumar Kartikeya Dwivedi1-10/+11
2022-03-18bpf: Factor out fd returning from bpf_btf_find_by_name_kindKumar Kartikeya Dwivedi1-37/+53
2022-03-05bpf: Reject programs that try to load __percpu memory.Hao Luo1-1/+7
2022-03-05bpf: Harden register offset checks for release helpers and kfuncsKumar Kartikeya Dwivedi1-14/+19
2022-03-05bpf: Fix PTR_TO_BTF_ID var_off checkKumar Kartikeya Dwivedi1-3/+6
2022-02-28bpf: Add config to allow loading modules with BTF mismatchesConnor O'Brien1-1/+2
2022-02-23bpf: Cleanup commentsTom Rix1-3/+3
2022-02-19bpf: Initialize ret to 0 inside btf_populate_kfunc_set()Souptick Joarder (HPE)1-1/+1
2022-02-17Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-3/+10
2022-02-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+3
2022-02-16bpf: Fix crash due to out of bounds access into reg2btf_ids.Kumar Kartikeya Dwivedi1-2/+3
2022-02-16libbpf: Split bpf_core_apply_relo()Mauricio Vásquez1-3/+10
2022-02-04bpf: Implement bpf_core_types_are_compat().Matteo Croce1-1/+104
2022-02-03bpf: Fix a btf decl_tag bug when tagging a functionYonghong Song1-8/+21
2022-01-27bpf: reject program if a __user tagged memory accessed in kernel wayYonghong Song1-6/+28
2022-01-25bpf: fix register_btf_kfunc_id_set for !CONFIG_DEBUG_INFO_BTFStanislav Fomichev1-2/+13
2022-01-24Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-40/+328
2022-01-19bpf: Generalize check_ctx_reg for reuse with other typesDaniel Borkmann1-1/+1
2022-01-18bpf: Add reference tracking support to kfuncKumar Kartikeya Dwivedi1-2/+30
2022-01-18bpf: Introduce mem, size argument pair support for kfuncKumar Kartikeya Dwivedi1-3/+45
2022-01-18bpf: Remove check_kfunc_call callback and old kfunc BTF ID APIKumar Kartikeya Dwivedi1-46/+0
2022-01-18bpf: Populate kfunc BTF ID sets in struct btfKumar Kartikeya Dwivedi1-1/+243
2022-01-18bpf: Fix UAF due to race between btf_try_get_module and load_moduleKumar Kartikeya Dwivedi1-2/+24
2021-12-18bpf: Extend kfunc with PTR_TO_CTX, PTR_TO_MEM argument supportKumar Kartikeya Dwivedi1-21/+73
2021-12-18bpf: Add MEM_RDONLY for helper args that are pointers to rdonly mem.Hao Luo1-1/+1
2021-12-18bpf: Convert PTR_TO_MEM_OR_NULL to composable types.Hao Luo1-1/+1
2021-12-18bpf: Introduce MEM_RDONLY flagHao Luo1-2/+1
2021-12-18bpf: Replace PTR_TO_XXX_OR_NULL with PTR_TO_XXX | PTR_MAYBE_NULLHao Luo1-2/+5
2021-12-13bpf: Allow access to int pointer arguments in tracing programsJiri Olsa1-4/+3
2021-12-11bpf: Silence coverity false positive warning.Alexei Starovoitov1-4/+4
2021-12-11bpf: Use kmemdup() to replace kmalloc + memcpyJiapeng Chong1-2/+1
2021-12-10Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-12/+398
2021-12-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-9/+2
2021-12-08bpf: Remove redundant assignment to pointer tColin Ian King1-1/+1