2020-12-10 |
Jean-Philippe Brucker | selftests/bpf: Add test for signed 32-bit bound check bug Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-12-10 |
Alexei Starovoitov | bpf: Fix propagation of 32-bit signed bounds from 64... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-12-09 |
KP Singh | bpf, doc: Update KP's email in MAINTAINERS Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-12-07 |
Cong Wang | lwt_bpf: Replace preempt_disable() with migrate_disable() Suggested-by: Alexei Starovoitov <alexei.starovoitov@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-12-07 |
Dongdong Wang | lwt: Disable BH too in run_lwt_bpf() Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-12-02 |
Andrii Nakryiko | selftests/bpf: Drain ringbuf samples at the end of... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-12-02 |
Andrii Nakryiko | libbpf: Fix ring_buffer__poll() to return number of... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-11-19 |
Luo Meng | fail_function: Remove a redundant mutex unlock Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-11-19 |
Alexei Starovoitov | Merge branch 'Fix bpf_probe_read_user_str() overcopying' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-11-19 |
Daniel Xu | selftest/bpf: Test bpf_probe_read_user_str() strips... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-11-19 |
Daniel Xu | lib/strncpy_from_user.c: Mask out bytes after NUL terminator. Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-11-19 |
Jiri Olsa | libbpf: Fix VERSIONED_SYM_COUNT number parsing Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-11-14 |
Dmitrii Banshchikov | bpf: Relax return code check for subprograms Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-11-12 |
Andrii Nakryiko | selftests/bpf: Fix unused attribute usage in subprogs_unused... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-11-06 |
KP Singh | bpf: Update verification logic for LSM programs Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-11-06 |
David Verbeiren | bpf: Zero-fill re-used per-cpu map element Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-11-06 |
Randy Dunlap | bpf: BPF_PRELOAD depends on BPF_SYSCALL Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-11-06 |
Lorenz Bauer | tools/bpftool: Fix attaching flow dissector Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-30 |
Ard Biesheuvel | bpf: Don't rely on GCC __attribute__((optimize)) to... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-20 |
Daniel Borkmann | bpf, doc: Fix patchwork URL to point to kernel.org... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-19 |
Martin KaFai Lau | bpf: selftest: Ensure the return value of the bpf_per_cpu_pt... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-19 |
Martin KaFai Lau | bpf: selftest: Ensure the return value of bpf_skc_to... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-19 |
Martin KaFai Lau | bpf: Enforce id generation for all may-be-null register... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-12 |
Alexei Starovoitov | Merge branch 'bpf, sockmap: allow verdict only sk_skb... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-12 |
John Fastabend | bpf, selftests: Add three new sockmap tests for verdict... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-12 |
John Fastabend | bpf, selftests: Add option to test_sockmap to omit... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-12 |
John Fastabend | bpf, sockmap: Allow skipping sk_skb parser program Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-12 |
John Fastabend | bpf, sockmap: Check skb_verdict and skb_parser programs... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-12 |
Alexei Starovoitov | Merge branch 'sockmap/sk_skb program memory acct fixes' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-12 |
John Fastabend | bpf, sockmap: Add memory accounting so skbs on ingress... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-12 |
John Fastabend | bpf, sockmap: Remove skb_orphan and let normal skb_kfree... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-12 |
John Fastabend | bpf, sockmap: Remove dropped data on errors in redirect... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-12 |
John Fastabend | bpf, sockmap: Remove skb_set_owner_w wmem will be taken... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-12 |
John Fastabend | bpf, sockmap: On receive programs try to fast track... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-12 |
John Fastabend | bpf, sockmap: Skb verdict SK_PASS to self already checked... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-11 |
Alexei Starovoitov | Merge branch 'samples: bpf: Refactor XDP programs with... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-11 |
Daniel T. Lee | samples: bpf: Refactor XDP kern program maps with BTF... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-11 |
Daniel T. Lee | samples: bpf: Replace attach_tracepoint() to attach... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-11 |
Daniel T. Lee | samples: bpf: Refactor xdp_monitor with libbpf Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-11 |
Alexei Starovoitov | Merge branch 'Follow-up BPF helper improvements' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-11 |
Daniel Borkmann | bpf, selftests: Add redirect_peer selftest Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-11 |
Daniel Borkmann | bpf, selftests: Make redirect_neigh test more extensible Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-11 |
Daniel Borkmann | bpf, selftests: Add test for different array inner... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-11 |
Daniel Borkmann | bpf: Allow for map-in-map with dynamic inner array... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-11 |
Daniel Borkmann | bpf: Add redirect_peer helper Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-11 |
Daniel Borkmann | bpf: Improve bpf_redirect_neigh helper description Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-08 |
Alexei Starovoitov | Merge branch 'libbpf: auto-resize relocatable LOAD... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-08 |
Andrii Nakryiko | selftests/bpf: Validate libbpf's auto-sizing of LD... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-08 |
Andrii Nakryiko | libbpf: Allow specifying both ELF and raw BTF for CO... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-08 |
Andrii Nakryiko | libbpf: Support safe subset of load/store instruction... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-08 |
Andrii Nakryiko | libbpf: Skip CO-RE relocations for not loaded BPF programs Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-07 |
Jakub Wilk | bpf: Fix typo in uapi/linux/bpf.h Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-07 |
Yonghong Song | bpf: Fix build failure for kernel/trace/bpf_trace.c... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-07 |
Randy Dunlap | kernel/bpf/verifier: Fix build when NET is not enabled Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-07 |
Hao Luo | selftests/bpf: Fix test_verifier after introducing... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-06 |
Ciara Loftus | samples: bpf: Driver interrupt statistics in xdpsock Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-06 |
Ciara Loftus | samples: bpf: Count syscalls in xdpsock Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-06 |
Ciara Loftus | samples: bpf: Split xdpsock stats into new struct Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-06 |
Yonghong Song | samples/bpf: Fix a compilation error with fallthrough... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-06 |
Yonghong Song | samples/bpf: Change Makefile to cope with latest llvm Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-06 |
Luigi Rizzo | bpf, libbpf: Use valid btf in bpf_program__set_attach_target Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-06 |
Alexei Starovoitov | Merge branch 'Fix pining maps after reuse map fd' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-06 |
Hangbin Liu | selftest/bpf: Test pinning map with reused map fd Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-06 |
Hangbin Liu | libbpf: Check if pin_path was set even map fd exist Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-06 |
Hangbin Liu | libbpf: Close map fd if init map slots failed Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-03 |
Stanislav Fomichev | bpf: Deref map in BPF_PROG_BIND_MAP when it's already... Reported-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
Alexei Starovoitov | Merge branch 'Add skb_adjust_room() for SK_SKB' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
John Fastabend | bpf, sockmap: Update selftests to use skb_adjust_room Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
John Fastabend | bpf, sockmap: Add skb_adjust_room to pop bytes off... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
Alexei Starovoitov | Merge branch 'bpf: BTF support for ksyms' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
Hao Luo | bpf/selftests: Test for bpf_per_cpu_ptr() and bpf_this_cpu_ptr() Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
Hao Luo | bpf: Introducte bpf_this_cpu_ptr() Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
Hao Luo | bpf: Introduce bpf_per_cpu_ptr() Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
Hao Luo | selftests/bpf: Ksyms_btf to test typed ksyms Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
Hao Luo | bpf/libbpf: BTF support for typed ksyms Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
Hao Luo | bpf: Introduce pseudo_btf_id Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
Alexei Starovoitov | Merge branch 'Do not limit cb_flags when creating child sk' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
Martin KaFai Lau | bpf: selftest: Ensure the child sk inherited all bpf_sock_op... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
Martin KaFai Lau | bpf: tcp: Do not limit cb_flags when creating child... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-01 |
Alexei Starovoitov | Merge branch 'introduce BPF_F_PRESERVE_ELEMS' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-01 |
Song Liu | selftests/bpf: Add tests for BPF_F_PRESERVE_ELEMS Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-01 |
Song Liu | bpf: Introduce BPF_F_PRESERVE_ELEMS for perf event... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-01 |
Jean-Philippe Brucker | selftests/bpf: Fix alignment of .BTF_ids Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Andrii Nakryiko | selftests/bpf: Test "incremental" btf_dump in C format Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Andrii Nakryiko | libbpf: Make btf_dump work with modifiable BTF Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Alexei Starovoitov | Merge branch 'Various BPF helper improvements' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Daniel Borkmann | bpf, selftests: Add redirect_neigh selftest Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Daniel Borkmann | bpf, selftests: Use bpf_tail_call_static where appropriate Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Daniel Borkmann | bpf, libbpf: Add bpf_tail_call_static helper for bpf... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Daniel Borkmann | bpf: Add redirect_neigh helper as redirect drop-in Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Daniel Borkmann | bpf, net: Rework cookie generator as per-cpu one Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Daniel Borkmann | bpf: Add classid helper only based on skb->sk Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Song Liu | bpf: fix raw_tp test run in preempt kernel Reported-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Andrii Nakryiko | libbpf: Compile in PIC mode only for shared library... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Andrii Nakryiko | libbpf: Compile libbpf under -O2 level by default and... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Andrii Nakryiko | libbpf: Fix uninitialized variable in btf_parse_type_sec Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Alexei Starovoitov | Merge branch 'bpf, x64: optimize JIT's pro/epilogue' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Maciej Fijalkowski | bpf: x64: Do not emit sub/add 0, %rsp when !stack_depth Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Maciej Fijalkowski | bpf, x64: Drop "pop %rcx" instruction on BPF JIT epilogue Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Ilya Leoshkevich | selftests/bpf: Fix endianness issues in sk_lookup/ctx_narrow... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
next |