summaryrefslogtreecommitdiffstats
path: root/kernel/bpf/btf.c
Commit message (Expand)AuthorAgeFilesLines
* bpf: Fix maximum permitted number of arguments checkYuntao Wang2022-03-281-1/+1
* bpf: Simplify check in btf_parse_hdr()Yuntao Wang2022-03-211-2/+1
* bpf: Check for NULL return from bpf_get_btf_vmlinuxKumar Kartikeya Dwivedi2022-03-201-1/+5
* bpf: Always raise reference in btf_get_module_btfKumar Kartikeya Dwivedi2022-03-191-10/+11
* bpf: Factor out fd returning from bpf_btf_find_by_name_kindKumar Kartikeya Dwivedi2022-03-181-37/+53
* bpf: Reject programs that try to load __percpu memory.Hao Luo2022-03-051-1/+7
* bpf: Harden register offset checks for release helpers and kfuncsKumar Kartikeya Dwivedi2022-03-051-14/+19
* bpf: Fix PTR_TO_BTF_ID var_off checkKumar Kartikeya Dwivedi2022-03-051-3/+6
* bpf: Add config to allow loading modules with BTF mismatchesConnor O'Brien2022-02-281-1/+2
* bpf: Cleanup commentsTom Rix2022-02-231-3/+3
* bpf: Initialize ret to 0 inside btf_populate_kfunc_set()Souptick Joarder (HPE)2022-02-191-1/+1
* Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski2022-02-171-3/+10
|\
| * libbpf: Split bpf_core_apply_relo()Mauricio Vásquez2022-02-161-3/+10
* | Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2022-02-171-2/+3
|\ \ | |/ |/|
| * bpf: Fix crash due to out of bounds access into reg2btf_ids.Kumar Kartikeya Dwivedi2022-02-161-2/+3
* | bpf: Implement bpf_core_types_are_compat().Matteo Croce2022-02-041-1/+104
* | bpf: Fix a btf decl_tag bug when tagging a functionYonghong Song2022-02-031-8/+21
* | bpf: reject program if a __user tagged memory accessed in kernel wayYonghong Song2022-01-271-6/+28
* | bpf: fix register_btf_kfunc_id_set for !CONFIG_DEBUG_INFO_BTFStanislav Fomichev2022-01-251-2/+13
* | Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski2022-01-241-40/+328
|\ \ | |/ |/|
| * bpf: Add reference tracking support to kfuncKumar Kartikeya Dwivedi2022-01-181-2/+30
| * bpf: Introduce mem, size argument pair support for kfuncKumar Kartikeya Dwivedi2022-01-181-3/+45
| * bpf: Remove check_kfunc_call callback and old kfunc BTF ID APIKumar Kartikeya Dwivedi2022-01-181-46/+0
| * bpf: Populate kfunc BTF ID sets in struct btfKumar Kartikeya Dwivedi2022-01-181-1/+243
| * bpf: Fix UAF due to race between btf_try_get_module and load_moduleKumar Kartikeya Dwivedi2022-01-181-2/+24
* | bpf: Generalize check_ctx_reg for reuse with other typesDaniel Borkmann2022-01-191-1/+1
|/
* bpf: Extend kfunc with PTR_TO_CTX, PTR_TO_MEM argument supportKumar Kartikeya Dwivedi2021-12-181-21/+73
* bpf: Add MEM_RDONLY for helper args that are pointers to rdonly mem.Hao Luo2021-12-181-1/+1
* bpf: Convert PTR_TO_MEM_OR_NULL to composable types.Hao Luo2021-12-181-1/+1
* bpf: Introduce MEM_RDONLY flagHao Luo2021-12-181-2/+1
* bpf: Replace PTR_TO_XXX_OR_NULL with PTR_TO_XXX | PTR_MAYBE_NULLHao Luo2021-12-181-2/+5
* bpf: Allow access to int pointer arguments in tracing programsJiri Olsa2021-12-131-4/+3
* bpf: Silence coverity false positive warning.Alexei Starovoitov2021-12-111-4/+4
* bpf: Use kmemdup() to replace kmalloc + memcpyJiapeng Chong2021-12-111-2/+1
* Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski2021-12-101-12/+398
|\
| * bpf: Remove redundant assignment to pointer tColin Ian King2021-12-081-1/+1
| * bpf: Silence purge_cand_cache build warning.Alexei Starovoitov2021-12-061-0/+2
| * bpf: Disallow BPF_LOG_KERNEL log level for bpf(BPF_BTF_LOAD)Hou Tao2021-12-041-2/+1
| * libbpf: Reduce bpf_core_apply_relo_insn() stack usage.Alexei Starovoitov2021-12-031-1/+10
| * bpf: Add bpf_core_add_cands() and wire it into bpf_core_apply_relo_insn().Alexei Starovoitov2021-12-021-1/+345
| * bpf: Adjust BTF log size limit.Alexei Starovoitov2021-12-021-1/+1
| * bpf: Pass a set of bpf_core_relo-s to prog_load command.Alexei Starovoitov2021-12-021-0/+6
| * bpf: Prepare relo_core.c for kernel duty.Alexei Starovoitov2021-12-021-0/+26
| * bpf: Rename btf_member accessors.Alexei Starovoitov2021-12-021-9/+9
* | Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2021-12-091-9/+2
|\ \ | |/ |/|
| * bpf: Fix bpf_check_mod_kfunc_call for built-in modulesKumar Kartikeya Dwivedi2021-12-021-2/+0
| * bpf: Make CONFIG_DEBUG_INFO_BTF depend upon CONFIG_BPF_SYSCALLKumar Kartikeya Dwivedi2021-12-021-7/+2
* | bpf: Introduce btf_tracing_idsSong Liu2021-11-121-4/+4
* | bpf: Extend BTF_ID_LIST_GLOBAL with parameter for number of IDsSong Liu2021-11-121-1/+1
* | bpf: Support BTF_KIND_TYPE_TAG for btf_type_tag attributesYonghong Song2021-11-111-1/+13