aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2023-12-06bpf: Add helpers for trampoline image managementSong Liu4-18/+52
2023-12-06bpf: Adjust argument names of arch_prepare_bpf_trampoline()Song Liu3-9/+9
2023-12-06bpf: Let bpf_prog_pack_free handle any pointerSong Liu3-16/+12
2023-12-06bpf: rename MAX_BPF_LINK_TYPE into __MAX_BPF_LINK_TYPE for consistencyAndrii Nakryiko3-3/+7
2023-12-06Merge branch 'bpf-token-and-bpf-fs-based-delegation'Alexei Starovoitov29-167/+1624
2023-12-06bpf,selinux: allocate bpf_security_struct per BPF tokenAndrii Nakryiko1-0/+25
2023-12-06selftests/bpf: add BPF token-enabled testsAndrii Nakryiko1-0/+672
2023-12-06libbpf: add BPF token support to bpf_prog_load() APIAndrii Nakryiko2-2/+4
2023-12-06libbpf: add BPF token support to bpf_btf_load() APIAndrii Nakryiko2-2/+5
2023-12-06libbpf: add BPF token support to bpf_map_create() APIAndrii Nakryiko2-2/+7
2023-12-06libbpf: add bpf_token_create() APIAndrii Nakryiko3-0/+42
2023-12-06bpf,lsm: add BPF token LSM hooksAndrii Nakryiko6-6/+109
2023-12-06bpf,lsm: refactor bpf_map_alloc/bpf_map_free LSM hooksAndrii Nakryiko6-18/+26
2023-12-06bpf,lsm: refactor bpf_prog_alloc/bpf_prog_free LSM hooksAndrii Nakryiko6-38/+49
2023-12-06bpf: consistently use BPF token throughout BPF verifier logicAndrii Nakryiko6-20/+19
2023-12-06bpf: take into account BPF token when fetching helper protosAndrii Nakryiko9-30/+32
2023-12-06bpf: add BPF token support to BPF_PROG_LOAD commandAndrii Nakryiko9-26/+110
2023-12-06bpf: add BPF token support to BPF_BTF_LOAD commandAndrii Nakryiko3-2/+20
2023-12-06bpf: add BPF token support to BPF_MAP_CREATE commandAndrii Nakryiko8-15/+67
2023-12-06bpf: introduce BPF token objectAndrii Nakryiko7-6/+354
2023-12-06bpf: add BPF token delegation mount options to BPF FSAndrii Nakryiko2-10/+88
2023-12-06bpf: align CAP_NET_ADMIN checks with bpf_capable() approachAndrii Nakryiko1-4/+9
2023-12-05Merge branch 'complete-bpf-verifier-precision-tracking-support-for-register-s...Alexei Starovoitov5-114/+405
2023-12-05selftests/bpf: validate precision logic in partial_stack_load_preserves_zerosAndrii Nakryiko1-0/+16
2023-12-05bpf: track aligned STACK_ZERO cases as imprecise spilled registersAndrii Nakryiko1-3/+7
2023-12-05selftests/bpf: validate zero preservation for sub-slot loadsAndrii Nakryiko1-0/+71
2023-12-05bpf: preserve constant zero when doing partial register restoreAndrii Nakryiko1-4/+21
2023-12-05selftests/bpf: validate STACK_ZERO is preserved on subreg spillAndrii Nakryiko1-0/+40
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-05selftests/bpf: add stack access precision testAndrii Nakryiko1-5/+59
2023-12-05bpf: support non-r10 register spill/fill to/from stack in precision trackingAndrii Nakryiko4-98/+169
2023-12-05selftests/bpf: Make sure we trigger metadata kfuncs for dst 8080Stanislav Fomichev1-1/+30
2023-12-05xsk: Add missing SPDX to AF_XDP TX metadata documentationStanislav Fomichev1-0/+2
2023-12-05selftests/bpf: Test bpf_kptr_xchg stashing of bpf_rb_rootDave Marchevsky2-0/+76
2023-12-04Merge branch 'bpf-fix-the-release-of-inner-map'Alexei Starovoitov13-41/+453
2023-12-04selftests/bpf: Test outer map update operations in syscall programHou Tao2-7/+119
2023-12-04selftests/bpf: Add test cases for inner mapHou Tao2-0/+234
2023-12-04bpf: Optimize the free of inner mapHou Tao5-6/+26
2023-12-04bpf: Defer the free of inner map when necessaryHou Tao3-9/+41
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 Tao5-11/+17
2023-12-04bpf: Check rcu_read_lock_trace_held() before calling bpf map helpersHou Tao1-5/+8
2023-12-04selftests/bpf: Fix spelling mistake "get_signaure_size" -> "get_signature_size"Colin Ian King1-1/+1
2023-12-04bpf: Minor logging improvementAndrei Matei1-2/+2
2023-12-02Merge branch 'bpf-verifier-retval-logic-fixes'Alexei Starovoitov15-80/+212
2023-12-02bpf: simplify tnum output if a fully known constantAndrii Nakryiko5-10/+17
2023-12-02selftests/bpf: adjust global_func15 test to validate prog exit precisionAndrii Nakryiko1-0/+32
2023-12-02selftests/bpf: validate async callback return value check correctnessAndrii Nakryiko1-8/+28
2023-12-02bpf: enforce precision of R0 on program/async callback returnAndrii Nakryiko1-0/+4