summaryrefslogtreecommitdiff
path: root/kernel/bpf/btf.c
AgeCommit message (Expand)AuthorFilesLines
2022-05-21bpf: 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-26bpf: Make BTF type match stricter for release argumentsKumar Kartikeya Dwivedi1-4/+10
2022-04-26bpf: Teach verifier about kptr_get kfunc helpersKumar Kartikeya Dwivedi1-5/+53
2022-04-26bpf: Wire up freeing of referenced kptrKumar Kartikeya Dwivedi1-1/+97
2022-04-26bpf: Populate pairs of btf_id and destructor kfunc in btfKumar Kartikeya Dwivedi1-0/+108
2022-04-26bpf: Allow storing referenced kptr in mapKumar Kartikeya Dwivedi1-1/+9
2022-04-26bpf: Tag argument to be released in bpf_func_protoKumar Kartikeya Dwivedi1-6/+5
2022-04-26bpf: 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-20bpf: Ensure type tags precede modifiers in BTFKumar Kartikeya Dwivedi1-0/+54
2022-03-29bpf: 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-21bpf: 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-19bpf: Factor out fd returning from bpf_btf_find_by_name_kindKumar Kartikeya Dwivedi1-37/+53
2022-03-06bpf: Reject programs that try to load __percpu memory.Hao Luo1-1/+7
2022-03-06bpf: Harden register offset checks for release helpers and kfuncsKumar Kartikeya Dwivedi1-14/+19
2022-03-06bpf: 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-24bpf: Cleanup commentsTom Rix1-3/+3
2022-02-20bpf: Initialize ret to 0 inside btf_populate_kfunc_set()Souptick Joarder (HPE)1-1/+1
2022-02-18Merge 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-04bpf: 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-26bpf: fix register_btf_kfunc_id_set for !CONFIG_DEBUG_INFO_BTFStanislav Fomichev1-2/+13
2022-01-25Merge 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-19bpf: Add reference tracking support to kfuncKumar Kartikeya Dwivedi1-2/+30
2022-01-19bpf: Introduce mem, size argument pair support for kfuncKumar Kartikeya Dwivedi1-3/+45
2022-01-19bpf: Remove check_kfunc_call callback and old kfunc BTF ID APIKumar Kartikeya Dwivedi1-46/+0
2022-01-19bpf: Populate kfunc BTF ID sets in struct btfKumar Kartikeya Dwivedi1-1/+243
2022-01-19bpf: Fix UAF due to race between btf_try_get_module and load_moduleKumar Kartikeya Dwivedi1-2/+24
2021-12-19bpf: Extend kfunc with PTR_TO_CTX, PTR_TO_MEM argument supportKumar Kartikeya Dwivedi1-21/+73
2021-12-19bpf: Add MEM_RDONLY for helper args that are pointers to rdonly mem.Hao Luo1-1/+1
2021-12-19bpf: Convert PTR_TO_MEM_OR_NULL to composable types.Hao Luo1-1/+1
2021-12-19bpf: Introduce MEM_RDONLY flagHao Luo1-2/+1
2021-12-19bpf: 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-12bpf: Silence coverity false positive warning.Alexei Starovoitov1-4/+4
2021-12-12bpf: Use kmemdup() to replace kmalloc + memcpyJiapeng Chong1-2/+1
2021-12-11Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-12/+398
2021-12-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-9/+2
2021-12-09bpf: Remove redundant assignment to pointer tColin Ian King1-1/+1
2021-12-07bpf: Silence purge_cand_cache build warning.Alexei Starovoitov1-0/+2
2021-12-04bpf: Disallow BPF_LOG_KERNEL log level for bpf(BPF_BTF_LOAD)Hou Tao1-2/+1