2023-04-21 |
Florian Westphal | selftests/bpf: add missing netfilter return value and... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-21 |
Florian Westphal | bpf: add test_run support for netfilter program type Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-21 |
Florian Westphal | tools: bpftool: print netfilter link info Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-21 |
Florian Westphal | netfilter: disallow bpf hook attachment at same priority Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-21 |
Florian Westphal | netfilter: nfnetlink hook: dump bpf prog id Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-21 |
Florian Westphal | bpf: minimal support for programs hooked into netfilter... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-21 |
Florian Westphal | bpf: add bpf_link support for BPF_NETFILTER programs Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-21 |
Kui-Feng Lee | bpftool: Update doc to explain struct_ops register... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-21 |
Kui-Feng Lee | bpftool: Register struct_ops with a link. Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-20 |
Alexei Starovoitov | Merge branch 'fix __retval() being always ignored' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-20 |
Eduard Zingerman | selftests/bpf: populate map_array_ro map for verifier_array_... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-20 |
Eduard Zingerman | selftests/bpf: add pre bpf_prog_test_run_opts() callback... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-20 |
Eduard Zingerman | selftests/bpf: fix __retval() being always ignored Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-20 |
Eduard Zingerman | selftests/bpf: disable program test run for progs/refcounted... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-20 |
Alexei Starovoitov | Merge branch 'Access variable length array relaxed... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-20 |
Feng Zhou | selftests/bpf: Add test to access integer type of variable... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-20 |
Feng Zhou | bpf: support access variable length array of integer... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-18 |
Alexei Starovoitov | Merge branch 'Provide bpf_for() and bpf_for_each()... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-18 |
Andrii Nakryiko | libbpf: mark bpf_iter_num_{new,next,destroy} as __weak Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-18 |
Andrii Nakryiko | libbpf: move bpf_for(), bpf_for_each(), and bpf_repeat... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-18 |
Andrii Nakryiko | selftests/bpf: add missing __weak kfunc log fixup test Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-18 |
Andrii Nakryiko | libbpf: improve handling of unresolved kfuncs Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-18 |
Andrii Nakryiko | libbpf: report vmlinux vs module name when dealing... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-18 |
Andrii Nakryiko | libbpf: misc internal libbpf clean ups around log fixup Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-17 |
Yonghong Song | selftests/bpf: Add a selftest for checking subreg equality Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-17 |
Yonghong Song | bpf: Improve verifier u32 scalar equality checking Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-17 |
Sean Young | bpf: lirc program type should not require SYS_CAP_ADMIN Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-17 |
Daniel Borkmann | bpf: Set skb redirect and from_ingress info in __bpf_tx_skb Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-16 |
Alexei Starovoitov | Merge branch 'Remove KF_KPTR_GET kfunc flag' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-16 |
David Vernet | bpf,docs: Remove KF_KPTR_GET from documentation Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-16 |
David Vernet | bpf: Remove KF_KPTR_GET kfunc flag Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-16 |
David Vernet | bpf: Remove bpf_kfunc_call_test_kptr_get() test kfunc Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-16 |
Alexei Starovoitov | Merge branch 'Shared ownership for local kptrs' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-16 |
Dave Marchevsky | selftests/bpf: Add refcounted_kptr tests Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-16 |
Dave Marchevsky | bpf: Centralize btf_field-specific initialization logic Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-16 |
Dave Marchevsky | bpf: Migrate bpf_rbtree_remove to possibly fail Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-16 |
Dave Marchevsky | selftests/bpf: Modify linked_list tests to work with... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-16 |
Dave Marchevsky | bpf: Migrate bpf_rbtree_add and bpf_list_push_{front... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-16 |
Dave Marchevsky | bpf: Add bpf_refcount_acquire kfunc Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-16 |
Dave Marchevsky | bpf: Support refcounted local kptrs in existing semantics Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-16 |
Dave Marchevsky | bpf: Introduce opaque bpf_refcount struct and add btf_record... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-16 |
Dave Marchevsky | bpf: Remove btf_field_offs, use btf_record's fields... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-14 |
Rong Tao | samples/bpf: sampleip: Replace PAGE_OFFSET with _text... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-14 |
Ilya Leoshkevich | bpf: Support 64-bit pointers to kfuncs Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-14 |
Yafang | bpf: Add preempt_count_{sub,add} into btf id deny list Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-14 |
Alexei Starovoitov | selftests/bpf: Workaround for older vm_sockets.h. Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-14 |
Alexei Starovoitov | selftests/bpf: Fix merge conflict due to SYS() macro... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-13 |
Alexei Starovoitov | Merge branch 'XDP-hints: change RX-hash kfunc bpf_xdp_metada... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-13 |
Jesper Dangaard... | selftests/bpf: Adjust bpf_xdp_metadata_rx_hash for... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-13 |
Jesper Dangaard... | mlx4: bpf_xdp_metadata_rx_hash add xdp rss hash type Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-13 |
Jesper Dangaard... | veth: bpf_xdp_metadata_rx_hash add xdp rss hash type Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-13 |
Jesper Dangaard... | mlx5: bpf_xdp_metadata_rx_hash add xdp rss hash type Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-13 |
Jesper Dangaard... | xdp: rss hash types representation Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-13 |
Jesper Dangaard... | selftests/bpf: xdp_hw_metadata remove bpf_printk and... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-13 |
Alexei Starovoitov | mm: Fix copy_from_user_nofault(). Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-12 |
Alexei Starovoitov | Merge branch 'Add FOU support for externally controlled... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-12 |
Christian Ehrig | selftests/bpf: Test FOU kfuncs for externally controlled... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-12 |
Christian Ehrig | bpf,fou: Add bpf_skb_{set,get}_fou_encap kfuncs Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-12 |
Christian Ehrig | ipip,ip_tunnel,sit: Add FOU support for externally... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-12 |
Xin Liu | bpf, sockmap: fix deadlocks in the sockhash and sockmap Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-12 |
David Vernet | bpf,docs: Remove references to bpf_cgroup_kptr_get() Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-12 |
David Vernet | bpf: Remove bpf_cgroup_kptr_get() kfunc Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-12 |
David Vernet | bpf: Make bpf_cgroup_acquire() KF_RCU | KF_RET_NULL Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-07 |
Barret Rhoden | bpf: ensure all memory is initialized in bpf_get_current_comm Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-06 |
Alexei Starovoitov | Merge branch 'bpf: Improve verifier for cond_op and... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-06 |
Yonghong Song | selftests/bpf: Add verifier tests for code pattern... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-06 |
Yonghong Song | bpf: Improve handling of pattern '<const> <cond_op... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-06 |
Yonghong Song | selftests/bpf: Add tests for non-constant cond_op NE... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-06 |
Yonghong Song | bpf: Improve verifier JEQ/JNE insn branch taken checking Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-06 |
Viktor Malik | kallsyms: move module-related functions under correct... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-06 |
Alexei Starovoitov | Merge branch 'bpftool: Add inline annotations when... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-06 |
Quentin Monnet | bpftool: Clean up _bpftool_once_attr() calls in bash... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-06 |
Quentin Monnet | bpftool: Support printing opcodes and source file references... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-06 |
Quentin Monnet | bpftool: Support "opcodes", "linum", "visual" simultaneously Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-06 |
Quentin Monnet | bpftool: Return an error on prog dumps if both CFG... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-06 |
Quentin Monnet | bpftool: Support inline annotations when dumping the... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-06 |
Quentin Monnet | bpftool: Fix bug for long instructions in program CFG... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-06 |
Quentin Monnet | bpftool: Fix documentation about line info display... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-03 |
Dave Marchevsky | bpf: Fix struct_meta lookup for bpf_obj_free_fields... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-03 |
Dave Thaler | bpf, docs: Add docs on extended 64-bit immediate instructions Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-02 |
Anton Protopopov | bpf: compute hashes in bloom filter similar to hashmap Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-01 |
Anton Protopopov | bpf: optimize hashmap lookups when key_size is divisible... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-01 |
Alexei Starovoitov | Merge branch 'Enable RCU semantics for task kptrs' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-01 |
David Vernet | bpf,docs: Update documentation to reflect new task... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-01 |
David Vernet | bpf: Remove now-defunct task kfuncs Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-01 |
David Vernet | bpf: Make struct task_struct an RCU-safe type Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-01 |
Alexei Starovoitov | Merge branch 'Prepare veristat for packaging' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-01 |
Andrii Nakryiko | veristat: small fixed found in -O2 mode Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-01 |
Andrii Nakryiko | veristat: avoid using kernel-internal headers Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-01 |
Andrii Nakryiko | veristat: improve version reporting Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-04-01 |
Andrii Nakryiko | veristat: relicense veristat.c as dual GPL-2.0-only... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-31 |
Alexei Starovoitov | Merge branch 'selftests/bpf: Add read_build_id function' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-31 |
Jiri Olsa | selftests/bpf: Replace extract_build_id with read_build_id Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-31 |
Jiri Olsa | selftests/bpf: Add read_build_id function Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-31 |
Jiri Olsa | selftests/bpf: Add err.h header Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-30 |
Xu Kuohai | selftests/bpf: Rewrite two infinite loops in bound... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-30 |
Alexei Starovoitov | Merge branch 'veristat: add better support of freplace... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-30 |
Andrii Nakryiko | veristat: guess and substitue underlying program type... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-30 |
Andrii Nakryiko | veristat: add -d debug mode option to see debug libbpf log Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-30 |
Andrii Nakryiko | libbpf: disassociate section handler on explicit bpf_program... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
next |