2021-04-01 |
Ciara Loftus | libbpf: Restore umem state after socket create failure Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-04-01 |
Ciara Loftus | libbpf: Ensure umem pointer is non-NULL before dereferencing Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-04-01 |
Lorenz Bauer | bpf: program: Refuse non-O_RDWR flags in BPF_OBJ_GET Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-04-01 |
Lorenz Bauer | bpf: link: Refuse non-O_RDWR flags in BPF_OBJ_GET Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-04-01 |
Dave Marchevsky | bpf: Refcount task stack in bpf_get_task_stack Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-03-27 |
Jiri Olsa | bpf: Take module reference for trampoline in module Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-03-20 |
Stanislav Fomichev | bpf: Use NOP_ATOMIC5 instead of emit_nops(&prog, 5... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-03-09 |
Yonghong Song | bpf: Don't do bpf_cgroup_storage_set() for kuprobe... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-03-05 |
Brendan Jackman | bpf: Explicitly zero-extend R0 after 32-bit cmpxchg Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-13 |
Alexei Starovoitov | Merge branch 'Add support of pointer to struct in global' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-13 |
Dmitrii Banshchikov | selftests/bpf: Add unit tests for pointers in global... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-13 |
Dmitrii Banshchikov | bpf: Support pointers in global func args Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-13 |
Dmitrii Banshchikov | bpf: Extract nullable reg type conversion into a helper... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-13 |
Dmitrii Banshchikov | bpf: Rename bpf_reg_state variables Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-12 |
Yonghong Song | bpf: Fix an unitialized value in bpf_iter Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-12 |
Alexei Starovoitov | Merge branch 'introduce bpf_iter for task_vma' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-12 |
Song Liu | selftests/bpf: Add test for bpf_iter_task_vma Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-12 |
Song Liu | bpf: Allow bpf_d_path in bpf_iter program Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-12 |
Song Liu | bpf: Introduce task_vma bpf_iter Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-12 |
Ilya Leoshkevich | bpf: Fix subreg optimization for BPF_FETCH Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-12 |
Ilya Leoshkevich | docs: bpf: Clarify BPF_CMPXCHG wording Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-12 |
Alexei Starovoitov | bpf: Clear per_cpu pointers during bpf_prog_realloc Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-12 |
Florent Revest | selftests/bpf: Add a selftest for the tracing bpf_get_socket... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-12 |
Florent Revest | selftests/bpf: Use vmlinux.h in socket_cookie_prog.c Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-12 |
Florent Revest | selftests/bpf: Integrate the socket_cookie test to... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-12 |
Florent Revest | bpf: Expose bpf_get_socket_cookie to tracing programs Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-12 |
Florent Revest | bpf: Be less specific about socket cookies guarantees Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-10 |
Alexei Starovoitov | Merge branch 'allow variable-offset stack acces' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-10 |
Andrei Matei | selftest/bpf: Add test for var-offset stack access Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-10 |
Andrei Matei | selftest/bpf: Verifier tests for var-off access Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-10 |
Andrei Matei | selftest/bpf: Adjust expected verifier errors Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-10 |
Andrei Matei | bpf: Allow variable-offset stack access Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-05 |
Yonghong Song | bpf: Refactor BPF_PSEUDO_CALL checking as a helper... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-02-03 |
Brendan Jackman | bpf: Propagate stack bounds to registers in atomics... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-28 |
Stanislav Fomichev | selftests/bpf: Verify that rebinding to port < 1024... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-28 |
Stanislav Fomichev | bpf: Allow rewriting to ports under ip_unprivileged_port_start Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-21 |
Brendan Jackman | docs: bpf: Clarify -mcpu=v3 requirement for atomic ops Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-21 |
Brendan Jackman | docs: bpf: Fixup atomics markup Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-20 |
Alexei Starovoitov | Merge branch 'bpf: misc performance improvements for... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-20 |
Stanislav Fomichev | bpf: Split cgroup_bpf_enabled per attach type Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-20 |
Stanislav Fomichev | bpf: Try to avoid kzalloc in cgroup/{s,g}etsockopt Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-20 |
Stanislav Fomichev | bpf: Remove extra lock_sock for TCP_ZEROCOPY_RECEIVE Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-20 |
Yonghong Song | bpf: Permit size-0 datasec Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-20 |
Alexei Starovoitov | Merge branch 'Allow attaching to bare tracepoints' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-20 |
Qais Yousef | selftests: bpf: Add a new test for bare tracepoints Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-20 |
Alexei Starovoitov | Merge branch 'bpf,x64: implement jump padding in jit' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-20 |
Qais Yousef | trace: bpf: Allow bpf to attach to bare tracepoints Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-20 |
Gary Lin | selftests/bpf: Add verifier tests for x64 jit jump... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-20 |
Gary Lin | test_bpf: Remove EXPECTED_FAIL flag from bpf_fill_maxinsns11 Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-20 |
Gary Lin | bpf,x64: Pad NOPs to make images converge more easily Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-20 |
Lukas Bulwahn | docs, bpf: Add minimal markup to address doc warning Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-20 |
Björn Töpel | samples/bpf: Add BPF_ATOMIC_OP macro for BPF samples Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-20 |
Lorenzo Bianconi | net, xdp: Introduce xdp_build_skb_from_frame utility... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-20 |
Lorenzo Bianconi | net, xdp: Introduce __xdp_build_skb_from_frame utility... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-20 |
Carlos Neira | bpf, selftests: Fold test_current_pid_tgid_new_ns into... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-15 |
Alexei Starovoitov | Merge branch 'perf: Add mmap2 build id support' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-15 |
Jiri Olsa | perf: Add build id data in mmap2 event Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-15 |
Jiri Olsa | bpf: Add size arg to build_id_parse function Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-15 |
Jiri Olsa | bpf: Move stack_map_get_build_id into lib Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-15 |
Alexei Starovoitov | Merge branch 'Atomics for eBPF' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-15 |
Brendan Jackman | bpf: Document new atomic instructions Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-15 |
Brendan Jackman | bpf: Add tests for new BPF atomic operations Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-15 |
Brendan Jackman | bpf: Add bitwise atomic instructions Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-15 |
Brendan Jackman | bpf: Pull out a macro for interpreting atomic ALU operations Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-15 |
Brendan Jackman | bpf: Add instructions for atomic_[cmp]xchg Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-15 |
Brendan Jackman | bpf: Add BPF_FETCH field / create atomic_fetch_add... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-15 |
Brendan Jackman | bpf: Move BPF_STX reserved field check into BPF_STX... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-15 |
Brendan Jackman | bpf: Rename BPF_XADD and prepare to encode other atomics... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-15 |
Brendan Jackman | bpf: x86: Factor out a lookup table for some ALU opcodes Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-15 |
Brendan Jackman | bpf: x86: Factor out emission of REX byte Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-15 |
Brendan Jackman | bpf: x86: Factor out emission of ModR/M for *(reg ... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-14 |
Gilad Reti | selftests/bpf: Add verifier test for PTR_TO_MEM spill Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-14 |
Gilad Reti | bpf: Support PTR_TO_MEM{,_OR_NULL} register spilling Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-14 |
Song Liu | bpf: Reject too big ctx_size_in for raw_tp test run Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-13 |
Alexei Starovoitov | Merge branch 'Support kernel module ksym variables' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-13 |
Andrii Nakryiko | selftests/bpf: Test kernel module ksym externs Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-13 |
Andrii Nakryiko | libbpf: Support kernel module ksym externs Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-13 |
Andrii Nakryiko | bpf: Support BPF ksym variables in kernel modules Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-13 |
Andrii Nakryiko | selftests/bpf: Sync RCU before unloading bpf_testmod Suggested-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-12 |
Andrii Nakryiko | bpf: Declare __bpf_free_used_maps() unconditionally Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-12 |
Andrii Nakryiko | bpf: Avoid warning when re-casting __bpf_call_base... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-12 |
Andrii Nakryiko | bpf: Add bpf_patch_call_args prototype to include/linux... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-12 |
Daniel Borkmann | bpf: Extend bind v4/v6 selftests for mark/prio/bindtoifindex Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-12 |
Daniel Borkmann | bpf: Allow to retrieve sol_socket opts from sock_addr... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-08 |
Andrii Nakryiko | libbpf: Clarify kernel type use with USER variants... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-08 |
Menglong Dong | selftests/bpf: Remove duplicate include in test_lsm Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-08 |
Lorenzo Bianconi | net, xdp: Introduce xdp_prepare_buff utility routine Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-08 |
Lorenzo Bianconi | net, xdp: Introduce xdp_init_buff utility routine Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-08 |
Zheng Yongjun | bpf: Replace fput with sockfd_put in sock map Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-08 |
Leah Neukirchen | bpf: Remove unnecessary <argp.h> include from preload... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-08 |
Andrii Nakryiko | selftests/bpf: Add tests for user- and non-CO-RE BPF_CORE_RE... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-08 |
Andrii Nakryiko | libbpf: Add non-CO-RE variants of BPF_CORE_READ() macro... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-08 |
Andrii Nakryiko | libbpf: Add user-space variants of BPF_CORE_READ()... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-01-06 |
Jiri Olsa | tools/resolve_btfids: Warn when having multiple IDs... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-12-11 |
Andrii Nakryiko | selftests/bpf: fix bpf_testmod.ko recompilation logic Reported-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-12-10 |
Jean-Philippe Brucker | selftests/bpf: Fix "dubious pointer arithmetic" test Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-12-10 |
Jean-Philippe Brucker | selftests/bpf: Fix array access with signed variable... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
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 |
next |