aboutsummaryrefslogtreecommitdiff
path: root/kernel/bpf
AgeCommit message (Expand)AuthorFilesLines
2023-12-06bpf: Add helpers for trampoline image managementSong Liu2-14/+44
2023-12-06bpf: Adjust argument names of arch_prepare_bpf_trampoline()Song Liu1-2/+2
2023-12-06bpf: Let bpf_prog_pack_free handle any pointerSong Liu2-15/+11
2023-12-06bpf: Fix prog_array_map_poke_run map poke updateJiri Olsa1-48/+10
2023-12-06bpf,lsm: add BPF token LSM hooksAndrii Nakryiko2-6/+16
2023-12-06bpf,lsm: refactor bpf_map_alloc/bpf_map_free LSM hooksAndrii Nakryiko2-5/+5
2023-12-06bpf,lsm: refactor bpf_prog_alloc/bpf_prog_free LSM hooksAndrii Nakryiko2-14/+16
2023-12-06bpf: consistently use BPF token throughout BPF verifier logicAndrii Nakryiko3-9/+8
2023-12-06bpf: take into account BPF token when fetching helper protosAndrii Nakryiko3-8/+9
2023-12-06bpf: add BPF token support to BPF_PROG_LOAD commandAndrii Nakryiko4-26/+95
2023-12-06bpf: add BPF token support to BPF_BTF_LOAD commandAndrii Nakryiko1-2/+18
2023-12-06bpf: add BPF token support to BPF_MAP_CREATE commandAndrii Nakryiko3-15/+56
2023-12-06bpf: introduce BPF token objectAndrii Nakryiko4-6/+239
2023-12-06bpf: add BPF token delegation mount options to BPF FSAndrii Nakryiko1-10/+78
2023-12-06bpf: align CAP_NET_ADMIN checks with bpf_capable() approachAndrii Nakryiko1-4/+9
2023-12-05bpf: track aligned STACK_ZERO cases as imprecise spilled registersAndrii Nakryiko1-3/+7
2023-12-05bpf: preserve constant zero when doing partial register restoreAndrii Nakryiko1-4/+21
2023-12-05bpf: preserve STACK_ZERO slots on partial reg spillsAndrii Nakryiko1-5/+23
2023-12-05bpf: fix check for attempt to corrupt spilled pointerAndrii Nakryiko1-1/+1
2023-12-05bpf: support non-r10 register spill/fill to/from stack in precision trackingAndrii Nakryiko1-73/+102
2023-12-04bpf: Optimize the free of inner mapHou Tao4-6/+24
2023-12-04bpf: Defer the free of inner map when necessaryHou Tao2-8/+35
2023-12-04bpf: Set need_defer as false when clearing fd array during map freeHou Tao1-9/+14
2023-12-04bpf: Add map and need_defer parameters to .map_fd_put_ptr()Hou Tao4-10/+12
2023-12-04bpf: Check rcu_read_lock_trace_held() before calling bpf map helpersHou Tao1-5/+8
2023-12-04bpf: Minor logging improvementAndrei Matei1-2/+2
2023-12-02bpf: simplify tnum output if a fully known constantAndrii Nakryiko2-6/+13
2023-12-02bpf: enforce precision of R0 on program/async callback returnAndrii Nakryiko1-0/+4
2023-12-02bpf: unify async callback and program retval checksAndrii Nakryiko1-18/+12
2023-12-02bpf: enforce precise retval range on program exitAndrii Nakryiko1-27/+29
2023-12-02bpf: enforce exact retval range on subprog/callback exitAndrii Nakryiko1-11/+22
2023-12-02bpf: enforce precision of R0 on callback returnAndrii Nakryiko1-0/+7
2023-12-02bpf: provide correct register name for exception callback retval checkAndrii Nakryiko1-6/+6
2023-12-01bpf: Fix a verifier bug due to incorrect branch offset comparison with cpu=v4Yonghong Song1-4/+8
2023-11-30Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-17/+66
2023-11-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+2
2023-11-26bpf: Add missed allocation hint for bpf_mem_cache_alloc_flags()Hou Tao1-0/+2
2023-11-24bpf: Validate global subprogs lazilyAndrii Nakryiko1-6/+42
2023-11-24bpf: Emit global subprog name in verifier logsAndrii Nakryiko1-11/+24
2023-11-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-136/+266
2023-11-21Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski9-1036/+1230
2023-11-20bpf: keep track of max number of bpf_loop callback iterationsEduard Zingerman1-2/+17
2023-11-20bpf: widening for callback iteratorsEduard Zingerman1-2/+22
2023-11-20bpf: verify callbacks as if they are called unknown number of timesEduard Zingerman1-99/+175
2023-11-20bpf: extract setup_func_entry() utility functionEduard Zingerman1-36/+48
2023-11-20bpf: extract __check_reg_arg() utility functionEduard Zingerman1-6/+13
2023-11-19bpf: bpf_iter_task_next: use next_task(kit->task) rather than next_task(kit->...Oleg Nesterov1-9/+5
2023-11-19bpf: bpf_iter_task_next: use __next_thread() rather than next_thread()Oleg Nesterov1-5/+4
2023-11-19bpf: task_group_seq_get_next: use __next_thread() rather than next_thread()Oleg Nesterov1-7/+5
2023-11-18bpf: emit frameno for PTR_TO_STACK regs if it differs from current oneAndrii Nakryiko1-6/+14