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