aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf
AgeCommit message (Expand)AuthorFilesLines
99 min.Merge tag 'mm-stable-2024-05-17-19-19' of git://git.kernel.org/pub/scm/linux/...HEADmasterLinus Torvalds3-6/+4
40 hoursMerge tag 'net-6.10-rc0' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-2/+2
41 hoursMerge tag 'sysctl-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+0
4 daysMerge tag 'modules-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds2-4/+4
4 daysbpf: save extended inner map info for percpu array maps as wellAndrii Nakryiko1-2/+2
5 daysMerge tag 'net-next-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds19-352/+1419
5 daysMerge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+5
5 daysbpf: remove CONFIG_BPF_JIT dependency on CONFIG_MODULES ofMike Rapoport (IBM)1-1/+1
5 daysmm: introduce execmem_alloc() and execmem_free()Mike Rapoport (IBM)1-3/+3
6 daysMerge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski8-122/+121
6 daysMerge tag 'rcu.next.v6.10' of https://github.com/urezki/linuxLinus Torvalds2-2/+2
7 daysriscv, bpf: inline bpf_get_smp_processor_id()Puranjay Mohan2-0/+15
12 daysbpf: Remove redundant page mask of vmf->addressHaiyue Wang1-1/+1
13 daysbpf/verifier: relax MUL range computation checkCupertino Miranda1-5/+1
13 daysbpf/verifier: improve XOR and OR range computationCupertino Miranda1-2/+2
13 daysbpf/verifier: refactor checks for range computationCupertino Miranda1-64/+45
13 daysbpf/verifier: replace calls to mark_reg_unknown.Cupertino Miranda1-5/+4
2024-05-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-2/+40
2024-05-01bpf: crypto: fix build when CONFIG_CRYPTO=mVadim Fedorenko1-1/+1
2024-04-30bpf: Add BPF_PROG_TYPE_CGROUP_SKB attach type enforcement in BPF_LINK_CREATEStanislav Fomichev1-0/+5
2024-04-30bpf: Add support for kprobe session cookieJiri Olsa1-0/+7
2024-04-30bpf: Add support for kprobe session contextJiri Olsa1-0/+3
2024-04-30bpf: Add support for kprobe session attachJiri Olsa1-1/+6
2024-04-30bpf: Do not walk twice the hash map on freeBenjamin Tissoires1-36/+13
2024-04-30bpf: Do not walk twice the map on freeBenjamin Tissoires1-7/+8
2024-04-29bpf: Switch to krealloc_array()Andy Shevchenko1-1/+1
2024-04-29bpf: Use struct_size()Andy Shevchenko1-5/+7
2024-04-29bpf: Fix verifier assumptions about socket->skAlexei Starovoitov1-5/+18
2024-04-29Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski17-218/+1249
2024-04-26bpf: verifier: prevent userspace memory accessPuranjay Mohan2-0/+39
2024-04-25mm: switch mm->get_unmapped_area() to a flagRick Edgecombe2-2/+2
2024-04-25mm: memcg: add NULL check to obj_cgroup_put()Yosry Ahmed1-4/+2
2024-04-24bpf: make common crypto API for TC/XDP programsVadim Fedorenko4-1/+390
2024-04-24bpf: Introduce bpf_preempt_[disable,enable] kfuncsKumar Kartikeya Dwivedi2-2/+81
2024-04-24bpf: Don't check for recursion in bpf_wq_work.Alexei Starovoitov1-13/+5
2024-04-24bpf: Remove the now superfluous sentinel elements from ctl_table arrayJoel Granados1-1/+0
2024-04-23bpf: add bpf_wq_startBenjamin Tissoires1-0/+18
2024-04-23bpf: wq: add bpf_wq_set_callback_implBenjamin Tissoires2-6/+69
2024-04-23bpf: wq: add bpf_wq_initBenjamin Tissoires1-2/+102
2024-04-23bpf: allow struct bpf_wq to be embedded in arraymaps and hashmapsBenjamin Tissoires4-19/+71
2024-04-23bpf: add support for KF_ARG_PTR_TO_WORKQUEUEBenjamin Tissoires1-0/+65
2024-04-23bpf: verifier: bail out if the argument is not a mapBenjamin Tissoires1-0/+5
2024-04-23bpf: add support for bpf_wq user typeBenjamin Tissoires3-1/+31
2024-04-23bpf: replace bpf_timer_cancel_and_free with a generic helperBenjamin Tissoires1-17/+25
2024-04-23bpf: replace bpf_timer_set_callback with a generic helperBenjamin Tissoires1-11/+18
2024-04-23bpf: replace bpf_timer_init with a generic helperBenjamin Tissoires1-28/+63
2024-04-23bpf: make timer data struct more genericBenjamin Tissoires1-33/+38
2024-04-22bpf: Fix typos in commentsRafael Passos5-10/+10
2024-04-22bpf: Fix typo in function save_aux_ptr_typeRafael Passos1-3/+3
2024-04-16bpf: Harden and/or/xor value tracking in verifierHarishankar Vishwanathan1-54/+40
2024-04-16btf: Avoid weak external referencesArd Biesheuvel2-5/+8
2024-04-12bpf: Fix a verifier verbose messageAnton Protopopov1-2/+1
2024-04-12bpf: Choose RCU Tasks based on TASKS_RCU rather than PREEMPTIONPaul E. McKenney1-1/+1
2024-04-10bpf: Add bpf_link support for sk_msg and sk_skb progsYonghong Song1-0/+4
2024-04-09bpf: Add support for certain atomics in bpf_arena to x86 JITAlexei Starovoitov2-1/+23
2024-04-09bpf: Select new NEED_TASKS_RCU Kconfig optionPaul E. McKenney1-1/+1
2024-04-05bpf: Allow invoking kfuncs from BPF_PROG_TYPE_SYSCALL progsDavid Vernet2-0/+2
2024-04-05bpf: allow invoking bpf_for_each_map_elem with different mapsPhilo Lu1-5/+1
2024-04-05bpf: store both map ptr and state in bpf_insn_aux_dataPhilo Lu1-20/+16
2024-04-05bpf: fix perf_snapshot_branch_stack link failureArnd Bergmann1-1/+2
2024-04-04bpf: prevent r10 register from being marked as preciseAndrii Nakryiko1-2/+4
2024-04-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-4/+36
2024-04-04Merge tag 'net-6.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds2-3/+35
2024-04-04bpf: inline bpf_get_branch_snapshot() helperAndrii Nakryiko1-0/+55
2024-04-04bpf: Optimize emit_mov_imm64().Alexei Starovoitov1-3/+10
2024-04-03bpf: inline bpf_map_lookup_elem() helper for PERCPU_HASH mapAndrii Nakryiko1-0/+21
2024-04-03bpf: inline bpf_map_lookup_elem() for PERCPU_ARRAY mapsAndrii Nakryiko1-0/+33
2024-04-03bpf: inline bpf_get_smp_processor_id() helperAndrii Nakryiko1-0/+24
2024-04-03bpf: add special internal-only MOV instruction to resolve per-CPU addrsAndrii Nakryiko2-0/+19
2024-04-03bpf: Replace deprecated strncpy with strscpyJustin Stitt2-4/+4
2024-04-02bpf: Improve program stats run-time calculationJose Fernandez1-1/+2
2024-04-02bpf: Add a verbose message if map limit is reachedAnton Protopopov1-0/+2
2024-03-31Merge tag 'kbuild-fixes-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2024-03-31kbuild: make -Woverride-init warnings more consistentArnd Bergmann1-1/+1
2024-03-29bpf: Avoid kfree_rcu() under lock in bpf_lpm_trie.Alexei Starovoitov1-4/+9
2024-03-29bpf: fix possible file descriptor leaks in verifierAnton Protopopov1-0/+3
2024-03-28bpf: Mark bpf prog stack with kmsan_unposion_memory in interpreter modeMartin KaFai Lau1-0/+2
2024-03-28bpf: support deferring bpf_link dealloc to after RCU grace periodAndrii Nakryiko1-3/+32
2024-03-28bpf: Mitigate latency spikes associated with freeing non-preallocated htabYafang Shao1-0/+1
2024-03-28bpf: add bpf_modify_return_test_tp() kfunc triggering tracepointAndrii Nakryiko1-0/+1
2024-03-28bpf,arena: Use helper sizeof_field in struct accessorsHaiyue Wang1-1/+1
2024-03-28bpf: improve error message for unsupported helperMykyta Yatsenko1-2/+2
2024-03-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski4-11/+56
2024-03-27bpf: Protect against int overflow for stack access sizeAndrei Matei1-0/+5
2024-03-27bpf: Check bloom filter map value sizeAndrei Matei1-0/+13
2024-03-27bpf: fix warning for crash_kexecHari Bathini1-1/+1
2024-03-27Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski8-51/+83
2024-03-26Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Paolo Abeni2-10/+37
2024-03-22bpf: verifier: reject addr_space_cast insn without arenaPuranjay Mohan1-0/+4
2024-03-22bpf: verifier: fix addr_space_cast from as(1) to as(0)Puranjay Mohan1-2/+6
2024-03-21bpf-next: Avoid goto in regs_refine_cond_op()Harishankar Vishwanathan1-9/+13
2024-03-20bpf: report RCU QS in cpumap kthreadYan Zhai1-0/+3
2024-03-19bpf: support BPF cookie in raw tracepoint (raw_tp, tp_btf) programsAndrii Nakryiko1-4/+9
2024-03-19bpf: pass whole link instead of prog when triggering raw tracepointAndrii Nakryiko1-7/+2
2024-03-19bpf: Allow helper bpf_get_[ns_]current_pid_tgid() for all prog typesYonghong Song2-2/+4
2024-03-19bpf/lpm_trie: Inline longest_prefix_match for fastpathJesper Dangaard Brouer1-5/+13
2024-03-18bpf: Check return from set_memory_rox()Christophe Leroy3-12/+32
2024-03-18bpf: Remove arch_unprotect_bpf_trampoline()Christophe Leroy1-7/+0
2024-03-18bpf: Remove unnecessary err < 0 check in bpf_struct_ops_map_update_elemMartin KaFai Lau1-2/+0
2024-03-15bpf: Clarify bpf_arena comments.Alexei Starovoitov1-7/+18
2024-03-14bpf: Take return from set_memory_ro() into account with bpf_prog_lock_ro()Christophe Leroy2-3/+9
2024-03-14bpf: preserve sleepable bit in subprog infoAndrii Nakryiko1-0/+1
2024-03-14bpf: Temporarily disable atomic operations in BPF arenaPuranjay Mohan1-1/+9
2024-03-11Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski14-139/+1120
2024-03-11bpf: move sleepable flag from bpf_prog_aux to bpf_progAndrii Nakryiko5-14/+14
2024-03-11bpf: hardcode BPF_PROG_PACK_SIZE to 2MB * num_possible_nodes()Puranjay Mohan1-1/+6
2024-03-11bpf: Recognize btf_decl_tag("arg: Arena") as PTR_TO_ARENA.Alexei Starovoitov2-4/+30
2024-03-11bpf: Recognize addr_space_cast instruction in the verifier.Alexei Starovoitov3-9/+107
2024-03-11bpf: Add x86-64 JIT support for bpf_addr_space_cast instruction.Alexei Starovoitov1-0/+5
2024-03-11bpf: Disasm support for addr_space_cast instruction.Alexei Starovoitov1-0/+10
2024-03-11bpf: Introduce bpf_arena.Alexei Starovoitov5-0/+609
2024-03-07net: move skbuff_cache(s) to net_hotdataEric Dumazet1-1/+3
2024-03-07bpf: Fix stackmap overflow check on 32-bit archesToke Høiland-Jørgensen1-3/+6
2024-03-07bpf: Fix hashtab overflow check on 32-bit archesToke Høiland-Jørgensen1-5/+9
2024-03-07bpf: Fix DEVMAP_HASH overflow check on 32-bit archesToke Høiland-Jørgensen1-5/+6
2024-03-07bpf: Tell bpf programs kernel's PAGE_SIZEAlexei Starovoitov1-1/+6
2024-03-07bpf: Plumb get_unmapped_area() callback into bpf_map_opsAlexei Starovoitov1-0/+16
2024-03-07bpf: Recognize '__map' suffix in kfunc argumentsAlexei Starovoitov1-0/+16
2024-03-07bpf: Allow kfuncs return 'void *'Alexei Starovoitov1-0/+3
2024-03-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-1/+4
2024-03-06bpf: Allow all printable characters in BTF DATASEC namesEduard Zingerman1-1/+15
2024-03-06bpf: Recognize that two registers are safe when their ranges matchAlexei Starovoitov1-21/+30
2024-03-06bpf: Introduce may_goto instructionAlexei Starovoitov3-30/+138
2024-03-05cpumap: Zero-initialise xdp_rxq_info struct before running XDP programToke Høiland-Jørgensen1-1/+1
2024-03-05bpf: check bpf_func_state->callback_depth when pruning statesEduard Zingerman1-0/+3
2024-03-04bpf: struct_ops supports more than one page for trampolines.Kui-Feng Lee1-41/+89
2024-03-04bpf, net: validate struct_ops when updating value.Kui-Feng Lee1-5/+6
2024-03-04net: adopt skb_network_offset() and similar helpersEric Dumazet1-1/+1
2024-03-02Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski13-241/+681
2024-02-29bpf: Replace bpf_lpm_trie_key 0-length array with flexible arrayKees Cook1-10/+10
2024-02-22bpf: add is_async_callback_calling_insn() helperBenjamin Tissoires1-4/+7
2024-02-22bpf: introduce in_sleepable() helperBenjamin Tissoires1-6/+11
2024-02-22bpf: allow more maps in sleepable bpf programsBenjamin Tissoires1-0/+2
2024-02-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-1/+8
2024-02-22bpf: Check cfi_stubs before registering a struct_ops type.Kui-Feng Lee1-0/+5
2024-02-19bpf: Fix an issue due to uninitialized bpf_iter_taskYafang Shao1-0/+2
2024-02-19bpf: Fix racing between bpf_timer_cancel_and_free and bpf_timer_cancelMartin KaFai Lau1-1/+4
2024-02-15bpf: Fix test verif_scale_strobemeta_subprogs failure due to llvm19Yonghong Song1-5/+13
2024-02-15bpf: improve duplicate source code line detectionAndrii Nakryiko1-2/+15
2024-02-14bpf: Use O(log(N)) binary search to find line info recordAndrii Nakryiko1-5/+25
2024-02-13bpf: emit source code file name and line number in verifier logAndrii Nakryiko1-3/+12
2024-02-13bpf: don't infer PTR_TO_CTX for programs with unnamed context typeAndrii Nakryiko1-0/+3
2024-02-13bpf: handle bpf_user_pt_regs_t typedef explicitly for PTR_TO_CTX global argAndrii Nakryiko1-0/+15
2024-02-13bpf: simplify btf_get_prog_ctx_type() into btf_is_prog_ctx_type()Andrii Nakryiko2-15/+14
2024-02-13bpf: remove check in __cgroup_bpf_run_filter_skbOliver Crumrine1-3/+0
2024-02-13bpf: Create argument information for nullable arguments.Kui-Feng Lee3-12/+234
2024-02-13bpf: Move __kfunc_param_match_suffix() to btf.c.Kui-Feng Lee2-28/+28
2024-02-13bpf: add btf pointer to struct bpf_ctx_arg_aux.Kui-Feng Lee1-1/+1
2024-02-13bpf: Fix warning for bpf_cpumask in verifierHari Bathini1-0/+2
2024-02-13bpf: Mark bpf_spin_{lock,unlock}() helpers with notrace correctlyYonghong Song1-2/+2
2024-02-13bpf: Have bpf_rdonly_cast() take a const pointerDaniel Xu1-2/+2
2024-02-11bpf: Allow compiler to inline most of bpf_local_storage_lookup()Marco Elver1-39/+13
2024-02-08bpf, btf: Check btf for register_bpf_struct_opsGeliang Tang1-1/+3
2024-02-08bpf, btf: Add check_btf_kconfigs helperGeliang Tang1-18/+15
2024-02-08bpf, btf: Fix return value of register_btf_id_dtor_kfuncsGeliang Tang1-4/+2
2024-02-07bpf: Merge two CONFIG_BPF entriesMasahiro Yamada1-0/+1
2024-02-05bpf: Transfer RCU lock state between subprog callsKumar Kartikeya Dwivedi1-2/+1
2024-02-05bpf: Allow calling static subprogs while holding a bpf_spin_lockKumar Kartikeya Dwivedi1-3/+8
2024-02-05bpf: Remove an unnecessary check.Kui-Feng Lee1-12/+9
2024-02-02bpf: don't emit warnings intended for global subprogs for static subprogsAndrii Nakryiko1-0/+6
2024-02-02bpf: handle trusted PTR_TO_BTF_ID_OR_NULL in argument check logicAndrii Nakryiko1-0/+1
2024-02-02bpf: Handle scalar spill vs all MISC in stacksafe()Eduard Zingerman1-3/+69
2024-02-02bpf: Preserve boundaries and track scalars on narrowing fillMaxim Mikityanskiy1-4/+11
2024-02-02bpf: Track spilled unbounded scalarsMaxim Mikityanskiy1-15/+1
2024-02-01bpf: Minor clean-up to sleepable_lsm_hooks BTF setMatt Bobrowski1-4/+2
2024-01-31bpf: treewide: Annotate BPF kfuncs in BTFDaniel Xu4-8/+16
2024-01-30bpf: add arg:nullable tag to be combined with trusted pointersAndrii Nakryiko1-0/+10
2024-01-30bpf: add __arg_trusted global func arg tagAndrii Nakryiko2-13/+110
2024-01-29bpf,token: Use BIT_ULL() to convert the bit maskHaiyue Wang1-8/+8
2024-01-29bpf: move arg:ctx type enforcement check inside the main logic loopAndrii Nakryiko1-17/+4
2024-01-25bpf: Fix error checks against bpf_get_btf_vmlinux().Kui-Feng Lee2-1/+6
2024-01-24bpf: Support symbolic BPF FS delegation mount optionsAndrii Nakryiko1-38/+211
2024-01-24bpf: Fail BPF_TOKEN_CREATE if no delegation option was set on BPF FSAndrii Nakryiko1-1/+9
2024-01-24bpf,lsm: Add BPF token LSM hooksAndrii Nakryiko2-1/+15
2024-01-24bpf,lsm: Refactor bpf_map_alloc/bpf_map_free LSM hooksAndrii Nakryiko2-5/+5
2024-01-24bpf,lsm: Refactor bpf_prog_alloc/bpf_prog_free LSM hooksAndrii Nakryiko2-14/+16
2024-01-24bpf: Consistently use BPF token throughout BPF verifier logicAndrii Nakryiko3-9/+8
2024-01-24bpf: Take into account BPF token when fetching helper protosAndrii Nakryiko3-8/+9
2024-01-24bpf: Add BPF token support to BPF_PROG_LOAD commandAndrii Nakryiko4-27/+97
2024-01-24bpf: Add BPF token support to BPF_BTF_LOAD commandAndrii Nakryiko1-2/+21
2024-01-24bpf: Add BPF token support to BPF_MAP_CREATE commandAndrii Nakryiko3-15/+63
2024-01-24bpf: Introduce BPF token objectAndrii Nakryiko4-6/+242
2024-01-24bpf: Add BPF token delegation mount options to BPF FSAndrii Nakryiko1-12/+78
2024-01-24bpf: Align CAP_NET_ADMIN checks with bpf_capable() approachAndrii Nakryiko1-4/+9
2024-01-23bpf: export btf_ctx_access to modules.Kui-Feng Lee1-0/+1
2024-01-23bpf, net: switch to dynamic registrationKui-Feng Lee3-103/+95
2024-01-23bpf: validate value_typeKui-Feng Lee1-33/+60
2024-01-23bpf: hold module refcnt in bpf_struct_ops map creation and prog verification.Kui-Feng Lee2-6/+34
2024-01-23bpf: pass attached BTF to the bpf_struct_ops subsystemKui-Feng Lee3-22/+54
2024-01-23bpf: lookup struct_ops types from a given module BTF.Kui-Feng Lee2-6/+7
2024-01-23bpf: pass btf object id in bpf_map_info.Kui-Feng Lee2-0/+9
2024-01-23bpf: make struct_ops_map support btfs other than btf_vmlinux.Kui-Feng Lee1-9/+15
2024-01-23bpf: add struct_ops_tab to btf.Kui-Feng Lee1-0/+55
2024-01-23bpf, net: introduce bpf_struct_ops_desc.Kui-Feng Lee2-42/+46
2024-01-23bpf: get type information with BTF_ID_LISTKui-Feng Lee1-9/+8
2024-01-23bpf: refactory struct_ops type initialization to a function.Kui-Feng Lee2-74/+88
2024-01-23bpf: Add cookie to perf_event bpf_link_info recordsJiri Olsa1-0/+4
2024-01-23bpf: Refactor ptr alu checking rules to allow alu explicitlyHao Sun1-7/+14
2024-01-23bpf: Track aligned st store as imprecise spilled registersYonghong Song1-2/+15
2024-01-23bpf: Assign ID to scalars on spillMaxim Mikityanskiy1-1/+7