aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2023-12-17optimize BPF_CORE_READoptimize_exampleAlexei Starovoitov1-11/+14
2023-12-17make it veristat-able and bpftool loadableAlexei Starovoitov1-2/+11
2023-12-17unprivileged DDI mounts + dynamic userns range allocationAlexei Starovoitov1-0/+160
2023-12-15selftests/bpf: Temporarily disable dummy_struct_ops test on s390Alexei Starovoitov1-0/+2
2023-12-15Merge branch 'x86-cfi-bpf-fix-cfi-vs-ebpf'Alexei Starovoitov17-50/+533
2023-12-15x86/cfi,bpf: Fix bpf_exception_cb() signatureAlexei Starovoitov2-2/+2
2023-12-15bpf: Fix dtor CFIPeter Zijlstra3-5/+34
2023-12-15cfi: Add CFI_NOSEAL()Peter Zijlstra2-0/+9
2023-12-15x86/cfi,bpf: Fix bpf_struct_ops CFIPeter Zijlstra7-32/+191
2023-12-15x86/cfi,bpf: Fix bpf_callback_t CFIPeter Zijlstra3-8/+30
2023-12-15x86/cfi,bpf: Fix BPF JIT callPeter Zijlstra6-14/+269
2023-12-15cfi: Flip headersPeter Zijlstra7-5/+14
2023-12-15selftests/bpf: Add test for abnormal cnt during multi-kprobe attachmentHou Tao1-0/+15
2023-12-15selftests/bpf: Don't use libbpf_get_error() in kprobe_multi_testHou Tao1-5/+11
2023-12-15selftests/bpf: Add test for abnormal cnt during multi-uprobe attachmentHou Tao1-1/+31
2023-12-15bpf: Limit the number of kprobes when attaching program to multiple kprobesHou Tao1-0/+3
2023-12-15bpf: Limit the number of uprobes when attaching program to multiple uprobesHou Tao1-0/+4
2023-12-14bpf: xdp: Register generic_kfunc_set with XDP programsDaniel Xu1-0/+1
2023-12-14Merge branch 'bpf-fs-mount-options-parsing-follow-ups'Alexei Starovoitov2-58/+243
2023-12-14selftests/bpf: utilize string values for delegate_xxx mount optionsAndrii Nakryiko1-20/+32
2023-12-14bpf: support symbolic BPF FS delegation mount optionsAndrii Nakryiko1-38/+211
2023-12-14Merge branch 'add-bpf_xdp_get_xfrm_state-kfunc'Alexei Starovoitov8-155/+384
2023-12-14bpf: xfrm: Add selftest for bpf_xdp_get_xfrm_state()Daniel Xu2-2/+65
2023-12-14bpf: selftests: Move xfrm tunnel test to test_progsDaniel Xu3-95/+151
2023-12-14bpf: selftests: test_tunnel: Use vmlinux.h declarationsDaniel Xu2-55/+22
2023-12-14bpf: selftests: test_tunnel: Setup fresh topology for each subtestDaniel Xu1-5/+2
2023-12-14bpf: xfrm: Add bpf_xdp_get_xfrm_state() kfuncDaniel Xu4-0/+146
2023-12-14selftests/bpf: Remove flaky test_btf_id testYonghong Song1-5/+0
2023-12-14bpf: Fix a race condition between btf_put() and map_free()Yonghong Song1-1/+5
2023-12-14net, xdp: Correct grammarRandy Dunlap1-2/+2
2023-12-14selftests/xsk: Fix for SEND_RECEIVE_UNALIGNED testTushar Vyavahare1-9/+16
2023-12-13Merge branch 'bpf-use-gfp_kernel-in-bpf_event_entry_gen'Alexei Starovoitov3-5/+7
2023-12-13bpf: Use GFP_KERNEL in bpf_event_entry_gen()Hou Tao1-1/+1
2023-12-13bpf: Reduce the scope of rcu_read_lock when updating fd mapHou Tao2-4/+6
2023-12-13bpf: Update the comments in maybe_wait_bpf_programs()Hou Tao1-3/+7
2023-12-13bpf: add small subset of SECURITY_PATH hooks to BPF sleepable_lsm_hooks listMatt Bobrowski1-0/+12
2023-12-13Merge branch 'xdp-metadata-via-kfuncs-for-ice-vlan-hint'Alexei Starovoitov31-309/+850
2023-12-13selftests/bpf: Check VLAN tag and proto in xdp_metadataLarysa Zaremba3-2/+26
2023-12-13selftests/bpf: Add AF_INET packet generation to xdp_metadataLarysa Zaremba1-19/+97
2023-12-13selftests/bpf: Add flags and VLAN hint to xdp_hw_metadataLarysa Zaremba3-12/+76
2023-12-13selftests/bpf: Allow VLAN packets in xdp_hw_metadataLarysa Zaremba2-1/+17
2023-12-13mlx5: implement VLAN tag XDP hintLarysa Zaremba2-1/+16
2023-12-13net: make vlan_get_tag() return -ENODATA instead of -EINVALLarysa Zaremba1-2/+2
2023-12-13veth: Implement VLAN tag XDP hintLarysa Zaremba1-0/+19
2023-12-13ice: use VLAN proto from ring packet context in skb pathLarysa Zaremba2-10/+6
2023-12-13ice: Implement VLAN tag hintLarysa Zaremba6-9/+59
2023-12-13xdp: Add VLAN tag hintLarysa Zaremba7-1/+57
2023-12-13ice: Support XDP hints in AF_XDP ZC modeLarysa Zaremba2-0/+19
2023-12-13xsk: add functions to fill control bufferMaciej Fijalkowski3-0/+31
2023-12-13ice: Support RX hash XDP hintLarysa Zaremba3-204/+284
2023-12-13ice: Support HW timestamp hintLarysa Zaremba7-7/+42
2023-12-13ice: Introduce ice_xdp_buffLarysa Zaremba3-5/+30
2023-12-13ice: Make ptype internal to descriptor info processingLarysa Zaremba4-13/+16
2023-12-13ice: make RX HW timestamp reading code more reusableLarysa Zaremba3-20/+36
2023-12-13ice: make RX hash reading code more reusableLarysa Zaremba1-11/+25
2023-12-13Merge branch 'bpf-token-support-in-libbpf-s-bpf-object'Alexei Starovoitov14-473/+1065
2023-12-13selftests/bpf: add tests for LIBBPF_BPF_TOKEN_PATH envvarAndrii Nakryiko1-0/+112
2023-12-13libbpf: support BPF token path setting through LIBBPF_BPF_TOKEN_PATH envvarAndrii Nakryiko2-6/+21
2023-12-13selftests/bpf: add tests for BPF object load with implicit tokenAndrii Nakryiko1-0/+76
2023-12-13selftests/bpf: add BPF object loading tests with explicit token passingAndrii Nakryiko3-0/+185
2023-12-13libbpf: wire up BPF token support at BPF object levelAndrii Nakryiko4-12/+158
2023-12-13libbpf: wire up token_fd into feature probing logicAndrii Nakryiko5-46/+66
2023-12-13libbpf: move feature detection code into its own fileAndrii Nakryiko6-466/+479
2023-12-13libbpf: further decouple feature checking logic from bpf_objectAndrii Nakryiko3-11/+22
2023-12-13libbpf: split feature detectors definitions from cached resultsAndrii Nakryiko1-6/+12
2023-12-13bpf: fail BPF_TOKEN_CREATE if no delegation option was set on BPF FSAndrii Nakryiko1-1/+9
2023-12-13bpf: selftests: Add verifier tests for CO-RE bitfield writesDaniel Xu2-0/+102
2023-12-13bpf: selftests: test_loader: Support __btf_path() annotationDaniel Xu2-0/+8
2023-12-13libbpf: Add BPF_CORE_WRITE_BITFIELD() macroDaniel Xu1-0/+32
2023-12-13bpf: Support uid and gid when mounting bpffsJie Jiang2-1/+51
2023-12-13selftests/bpf: fix compiler warnings in RELEASE=1 modeAndrii Nakryiko2-2/+2
2023-12-12selftests/bpf: Relax time_tai test for equal timestamps in tai_forwardYiFei Zhu1-1/+1
2023-12-12bpf: Comment on check_mem_size_regAndrei Matei1-0/+6
2023-12-12bpf: Remove unused backtrack_state helper functionsYang Li1-15/+0
2023-12-12selftests/bpf: Fixes tests for filesystem kfuncsManu Bretelle1-0/+8
2023-12-11bpf: use bitfields for simple per-subprog bool flagsAndrii Nakryiko1-6/+6
2023-12-11bpf: tidy up exception callback management a bitAndrii Nakryiko3-23/+42
2023-12-11bpf: emit more dynptr information in verifier logAndrii Nakryiko1-9/+16
2023-12-11bpf: log PTR_TO_MEM memory size in verifier logAndrii Nakryiko1-0/+4
2023-12-11selftests/bpf: validate eliminated global subprog is not freplaceableAndrii Nakryiko3-3/+83
2023-12-11net, xdp: Allow metadata > 32Aleksander Lobakin2-6/+14
2023-12-11selftests/bpf: Increase invalid metadata sizeLarysa Zaremba1-2/+2
2023-12-09Merge branch 'add-new-bpf_cpumask_weight-kfunc'Alexei Starovoitov5-1/+58
2023-12-09selftests/bpf: Add test for bpf_cpumask_weight() kfuncDavid Vernet3-0/+45
2023-12-09bpf: Add bpf_cpumask_weight() kfuncDavid Vernet2-1/+13
2023-12-09test_bpf: Rename second ALU64_SMOD_X to ALU64_SMOD_KTiezhu Yang1-1/+1
2023-12-09selftests/bpf: validate fake register spill/fill precision backtracking logicAndrii Nakryiko1-0/+154
2023-12-09bpf: handle fake register spill to stack with BPF_ST_MEM instructionAndrii Nakryiko1-1/+0
2023-12-09Merge branch 'bpf-fixes-for-maybe_wait_bpf_programs'Alexei Starovoitov1-5/+14
2023-12-09bpf: Set uattr->batch.count as zero before batched update or deletionHou Tao1-0/+6
2023-12-09bpf: Only call maybe_wait_bpf_programs() when map operation succeedsHou Tao1-2/+4
2023-12-09bpf: Add missed maybe_wait_bpf_programs() for htab of mapsHou Tao1-3/+3
2023-12-09bpf: Call maybe_wait_bpf_programs() only once for generic_map_update_batch()Hou Tao1-1/+3
2023-12-09bpf: Remove unnecessary wait from bpf_map_copy_value()Hou Tao1-1/+0
2023-12-08libbpf: Add pr_warn() for EINVAL cases in linker_sanity_check_elfSergei Trofimovich1-4/+20
2023-12-08Merge branch 'bpf: Expand bpf_cgrp_storage to support cgroup1 non-attach case'Martin KaFai Lau7-50/+298
2023-12-08selftests/bpf: Add selftests for cgroup1 local storageYafang Shao4-47/+278
2023-12-08selftests/bpf: Add a new cgroup helper open_classid()Yafang Shao2-0/+17
2023-12-08bpf: Enable bpf_cgrp_storage for cgroup1 non-attach caseYafang Shao1-3/+3
2023-12-08selftests/bpf: fix timer/test_bad_ret subtest on test_progs-cpuv4 flavorAndrii Nakryiko1-2/+3
2023-12-08Merge branch 'bpf-fix-accesses-to-uninit-stack-slots'Andrii Nakryiko10-73/+114
2023-12-08bpf: Minor cleanup around stack boundsAndrei Matei1-2/+9
2023-12-08bpf: Fix accesses to uninit stack slotsAndrei Matei9-72/+92
2023-12-08bpf: Add some comments to stack representationAndrei Matei1-0/+14
2023-12-08bpf: Load vmlinux btf for any struct_ops mapDavid Vernet1-0/+11
2023-12-07Merge branch 'bpf-fix-verification-of-indirect-var-off-stack-access'Andrii Nakryiko2-13/+36
2023-12-07bpf: Guard stack limits against 32bit overflowAndrei Matei1-3/+3
2023-12-07bpf: Add verifier regression test for previous patchAndrei Matei1-0/+29
2023-12-07bpf: Fix verification of indirect var-off stack accessAndrei Matei1-10/+4
2023-12-06Merge branch 'allocate-bpf-trampoline-on-bpf_prog_pack'Alexei Starovoitov11-132/+305
2023-12-06x86, bpf: Use bpf_prog_pack for bpf trampolineSong Liu1-26/+72
2023-12-06bpf: Use arch_bpf_trampoline_sizeSong Liu6-37/+44
2023-12-06bpf: Add arch_bpf_trampoline_size()Song Liu6-46/+136
2023-12-06bpf, x86: Adjust arch_prepare_bpf_trampoline return valueSong Liu1-1/+1
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
2023-12-02bpf: unify async callback and program retval checksAndrii Nakryiko1-18/+12
2023-12-02bpf: enforce precise retval range on program exitAndrii Nakryiko9-38/+40
2023-12-02selftests/bpf: add selftest validating callback result is enforcedAndrii Nakryiko1-0/+50
2023-12-02bpf: enforce exact retval range on subprog/callback exitAndrii Nakryiko2-12/+28
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 Nakryiko3-8/+8
2023-12-02bpf: rearrange bpf_func_state fields to save a bit of memoryAndrii Nakryiko1-2/+2
2023-12-01Merge branch 'bpf-file-verification-with-lsm-and-fsverity'Alexei Starovoitov15-9/+688
2023-12-01selftests/bpf: Add test that uses fsverity and xattr to sign a fileSong Liu5-8/+280
2023-12-01selftests/bpf: Add tests for filesystem kfuncsSong Liu5-0/+223
2023-12-01selftests/bpf: Sort config in alphabetic orderSong Liu1-1/+1
2023-12-01Documentation/bpf: Add documentation for filesystem kfuncsSong Liu2-0/+22
2023-12-01bpf, fsverity: Add kfunc bpf_get_fsverity_digestSong Liu3-0/+95
2023-12-01bpf: Add kfunc bpf_get_file_xattrSong Liu1-0/+67
2023-12-01selftests/bpf: Fix erroneous bitmask operationJeroen van Ingen Schenau1-2/+2
2023-12-01octeon_ep: set backpressure watermark for RX queuesShinas Rasheed3-0/+20
2023-12-01octeon_ep: Fix error code in probe()Dan Carpenter1-0/+1
2023-11-30Merge branch 'selftests-tc-testing-more-tdc-updates'Jakub Kicinski4-130/+122
2023-11-30selftests: tc-testing: remove filters/tests.jsonPedro Tammela3-123/+121
2023-11-30selftests: tc-testing: rename concurrency.json to flower.jsonPedro Tammela1-0/+0
2023-11-30selftests: tc-testing: remove spurious './' from MakefilePedro Tammela1-1/+1
2023-11-30selftests: tc-testing: remove spurious nsPlugin usagePedro Tammela1-6/+0
2023-11-30docs: netlink: link to family documentations from spec infoJakub Kicinski3-3/+11
2023-11-30Merge branch 'support-octeon-cn98-devices'Jakub Kicinski7-5/+56
2023-11-30octeon_ep: support OCTEON CN98 devicesShinas Rasheed5-4/+30
2023-11-30octeon_ep: implement device unload control net APIShinas Rasheed2-1/+26
2023-11-30net/sched: cbs: Use units.h instead of the copy of a definitionAndy Shevchenko1-2/+2
2023-11-30net: phy: mdio_device: Reset device only when necessaryAndrew Halaney3-0/+8
2023-11-30Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski58-158/+1590
2023-11-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski257-3711/+2737
2023-12-01Merge tag 'net-6.7-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds60-337/+1128
2023-12-01Merge tag 'pmdomain-v6.7-rc2' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2023-12-01Merge tag 'mmc-v6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ulf...Linus Torvalds5-49/+85
2023-12-01Merge tag 'leds-fixes-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/l...Linus Torvalds2-23/+0
2023-12-01Merge tag 'efi-urgent-for-v6.7-1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2023-11-30net: page_pool: fix general protection fault in page_pool_unlistEric Dumazet1-1/+3