Commit Graph

  • 8caff995c7 libbpf: Fix possible use after free in xsk_socket__delete Magnus Karlsson 2020-11-03 10:41:30 +01:00
  • 539aa6bea5 libbpf: Fix null dereference in xsk_socket__delete Magnus Karlsson 2020-11-03 10:41:29 +01:00
  • 224db2db07 libbpf, hashmap: Fix undefined behavior in hash_bits Ian Rogers 2020-10-29 15:37:07 -07:00
  • e6725d2467 libbpf: Accomodate DWARF/compiler bug with duplicated identical arrays Andrii Nakryiko 2020-11-04 20:33:59 -08:00
  • 658ac1ec19 libbpf: Support BTF dedup of split BTFs Andrii Nakryiko 2020-11-04 20:33:58 -08:00
  • dd36215834 libbpf: Fix BTF data layout checks and allow empty BTF Andrii Nakryiko 2020-11-04 20:33:57 -08:00
  • 2811d54f8b libbpf: Implement basic split BTF support Andrii Nakryiko 2020-11-04 20:33:54 -08:00
  • be2dc73ee2 libbpf: Unify and speed up BTF string deduplication Andrii Nakryiko 2020-11-04 20:33:53 -08:00
  • 4953827790 libbpf: Factor out common operations in BTF writing APIs Andrii Nakryiko 2020-11-04 20:33:51 -08:00
  • d1fd50d475 helpers: add struct bpf_redir_neigh forward declaration v0.2 Andrii Nakryiko 2020-10-28 09:59:37 -07:00
  • f0c6b6bdfb sync: latest libbpf changes from kernel Andrii Nakryiko 2020-10-27 23:55:10 -07:00
  • 475ee87969 sync: auto-generate latest BPF helpers Andrii Nakryiko 2020-10-27 23:55:10 -07:00
  • f754860e35 bpf, libbpf: Guard bpf inline asm from bpf_tail_call_static Daniel Borkmann 2020-10-21 22:32:57 +02:00
  • 78d61150e9 bpf: Fix bpf_redirect_neigh helper api to support supplying nexthop Toke Høiland-Jørgensen 2020-10-20 23:25:56 +02:00
  • 49280406a2 readme: add Ubuntu mentions Andrii Nakryiko 2020-10-26 21:15:51 -07:00
  • de58d0cccf sync: update 5.5.0 blacklist Andrii Nakryiko 2020-10-12 10:55:50 -07:00
  • 6fa81d4dbe sync: latest libbpf changes from kernel Andrii Nakryiko 2020-10-12 09:52:58 -07:00
  • bc94c2b82f sync: auto-generate latest BPF helpers Andrii Nakryiko 2020-10-12 09:52:58 -07:00
  • d47094a2ce bpf: Allow for map-in-map with dynamic inner array map entries Daniel Borkmann 2020-10-11 01:40:03 +02:00
  • 4672fb6790 bpf: Add redirect_peer helper Daniel Borkmann 2020-10-11 01:40:02 +02:00
  • a8a505a36f bpf: Improve bpf_redirect_neigh helper description Daniel Borkmann 2020-10-11 01:40:01 +02:00
  • e3b9cf7aaa bpf: Add tcp_notsent_lowat bpf setsockopt Nikita V. Shirokov 2020-10-09 07:03:25 +00:00
  • 76764b891b libbpf: Allow specifying both ELF and raw BTF for CO-RE BTF override Andrii Nakryiko 2020-10-07 17:10:23 -07:00
  • 8ef6a6e709 libbpf: Support safe subset of load/store instruction resizing with CO-RE Andrii Nakryiko 2020-10-07 17:10:22 -07:00
  • 44d5bc1709 libbpf: Skip CO-RE relocations for not loaded BPF programs Andrii Nakryiko 2020-10-07 17:10:21 -07:00
  • 95848b59b9 libbpf: Fix compatibility problem in xsk_socket__create Magnus Karlsson 2020-10-07 13:42:26 +02:00
  • 1bc08143b5 bpf: Fix typo in uapi/linux/bpf.h Jakub Wilk 2020-10-07 07:57:17 +02:00
  • b9682e291d bpf, libbpf: Use valid btf in bpf_program__set_attach_target Luigi Rizzo 2020-10-05 15:45:28 -07:00
  • 54fe2f1e26 libbpf: Check if pin_path was set even map fd exist Hangbin Liu 2020-10-06 10:13:44 +08:00
  • fd28e0130a libbpf: Close map fd if init map slots failed Hangbin Liu 2020-10-06 10:13:43 +08:00
  • f908087023 bpf: Introducte bpf_this_cpu_ptr() Hao Luo 2020-09-29 16:50:48 -07:00
  • b3b297aa16 bpf: Introduce bpf_per_cpu_ptr() Hao Luo 2020-09-29 16:50:47 -07:00
  • 6d0fcc3bd5 bpf/libbpf: BTF support for typed ksyms Hao Luo 2020-09-29 16:50:45 -07:00
  • 3706bf773b bpf: Introduce pseudo_btf_id Hao Luo 2020-09-29 16:50:44 -07:00
  • 09718f4ecd bpf: Introduce BPF_F_PRESERVE_ELEMS for perf event array Song Liu 2020-09-30 15:49:26 -07:00
  • 8205f37a56 sync: ignore libc_compat.h Andrii Nakryiko 2020-10-12 10:03:09 -07:00
  • ecbd504994 makefile: add quiet mode support Andrii Nakryiko 2020-10-10 22:15:40 -07:00
  • b6dd2f2b7d vmtests: un-blacklist fixed selftests Andrii Nakryiko 2020-09-30 16:28:39 -07:00
  • a132697261 sync: latest libbpf changes from kernel Andrii Nakryiko 2020-09-30 16:25:11 -07:00
  • 2d0aa12ea3 sync: auto-generate latest BPF helpers Andrii Nakryiko 2020-09-30 16:25:11 -07:00
  • 317ef1c295 libbpf: Make btf_dump work with modifiable BTF Andrii Nakryiko 2020-09-29 16:28:40 -07:00
  • 80c7838600 bpf, libbpf: Add bpf_tail_call_static helper for bpf programs Daniel Borkmann 2020-09-30 17:18:18 +02:00
  • 750801a0d5 bpf: Add redirect_neigh helper as redirect drop-in Daniel Borkmann 2020-09-30 17:18:17 +02:00
  • b5fd4c774d bpf: Add classid helper only based on skb->sk Daniel Borkmann 2020-09-30 17:18:15 +02:00
  • 5a10cd2060 remove internal reallocarray() Vladimír Čunát 2020-09-07 21:19:02 +02:00
  • ff797cc905 vmtests: blacklist new tests for 5.5 Andrii Nakryiko 2020-09-29 15:44:27 -07:00
  • 21ea184818 sync: latest libbpf changes from kernel Andrii Nakryiko 2020-09-29 17:52:31 -07:00
  • 760f71ec87 sync: auto-generate latest BPF helpers Andrii Nakryiko 2020-09-29 17:52:31 -07:00
  • 91e666c94c libbpf: Fix uninitialized variable in btf_parse_type_sec Andrii Nakryiko 2020-09-29 15:06:02 -07:00
  • e40af4de0c libbpf: Add support for freplace attachment in bpf_link_create Toke Høiland-Jørgensen 2020-09-29 14:45:53 +02:00
  • 5e359219aa bpf: Support attaching freplace programs to multiple attach points Toke Høiland-Jørgensen 2020-09-29 14:45:51 +02:00
  • 488110df60 libbpf: Support BTF loading and raw data output in both endianness Andrii Nakryiko 2020-09-28 21:30:45 -07:00
  • f007a6bfdf selftests/bpf: Test BTF writing APIs Andrii Nakryiko 2020-09-28 19:05:32 -07:00
  • 6f90197ab0 libbpf: Add btf__str_by_offset() as a more generic variant of name_by_offset Andrii Nakryiko 2020-09-28 19:05:31 -07:00
  • a388fcb0f5 libbpf: Add BTF writing APIs Andrii Nakryiko 2020-09-28 19:05:30 -07:00
  • 2654268c79 bpf: Add bpf_seq_printf_btf helper Alan Maguire 2020-09-28 12:31:09 +01:00
  • e7647823a1 bpf: Add bpf_snprintf_btf helper Alan Maguire 2020-09-28 12:31:05 +01:00
  • 3cfff16611 libbpf: Add btf__new_empty() to create an empty BTF object Andrii Nakryiko 2020-09-25 18:13:54 -07:00
  • 7ac1547f32 libbpf: Allow modification of BTF and add btf__add_str API Andrii Nakryiko 2020-09-25 18:13:53 -07:00
  • 897a0e79bd libbpf: Extract generic string hashing function for reuse Andrii Nakryiko 2020-09-25 18:13:52 -07:00
  • 063eed6105 libbpf: Generalize common logic for managing dynamically-sized arrays Andrii Nakryiko 2020-09-25 18:13:51 -07:00
  • 71e8af71c5 libbpf: Remove assumption of single contiguous memory for BTF data Andrii Nakryiko 2020-09-25 18:13:50 -07:00
  • 4023fbd99e libbpf: Refactor internals of BTF type index Andrii Nakryiko 2020-09-25 18:13:49 -07:00
  • b2e50daea8 libbpf: Support test run of raw tracepoint programs Song Liu 2020-09-25 13:54:30 -07:00
  • b6f1385458 bpf: Enable BPF_PROG_TEST_RUN for raw_tracepoint Song Liu 2020-09-25 13:54:29 -07:00
  • 146bdd7535 bpf: Change bpf_sk_assign to accept ARG_PTR_TO_BTF_ID_SOCK_COMMON Martin KaFai Lau 2020-09-24 17:04:15 -07:00
  • 76ee807ee3 bpf: Change bpf_tcp_*_syncookie to accept ARG_PTR_TO_BTF_ID_SOCK_COMMON Martin KaFai Lau 2020-09-24 17:04:09 -07:00
  • 32e5add48f bpf: Change bpf_sk_storage_*() to accept ARG_PTR_TO_BTF_ID_SOCK_COMMON Martin KaFai Lau 2020-09-24 17:04:02 -07:00
  • 120e99ccd8 bpf: Change bpf_sk_release and bpf_sk_*cgroup_id to accept ARG_PTR_TO_BTF_ID_SOCK_COMMON Martin KaFai Lau 2020-09-24 17:03:56 -07:00
  • 3cf3c6cd26 libbpf: Add BPF_PROG_BIND_MAP syscall and use it on .rodata section YiFei Zhu 2020-09-15 16:45:41 -07:00
  • f38fccf3cc bpf: Add BPF_PROG_BIND_MAP syscall YiFei Zhu 2020-09-15 16:45:40 -07:00
  • 08dc84e54a libbpf: Fix a compilation error with xsk.c for ubuntu 16.04 Yonghong Song 2020-09-14 15:32:10 -07:00
  • 0102f65d72 bpf: Fix comment for helper bpf_current_task_under_cgroup() Song Liu 2020-09-10 13:33:14 -07:00
  • f700cf6667 vmtests: unblacklist few tests Andrii Nakryiko 2020-09-28 11:15:57 -07:00
  • 99921245f0 vmtest: update root fs, whitelist sk_{assign|lookup} test Julia Kartseva 2020-04-04 23:56:00 -07:00
  • 1107a4d0d4 libbpf: Fix XDP program load regression for old kernels v0.1.1 Andrii Nakryiko 2020-09-24 10:17:05 -07:00
  • 37c5973bb7 sync: latest libbpf changes from kernel Andrii Nakryiko 2020-09-24 10:49:06 -07:00
  • 2200fefd87 libbpf: Fix XDP program load regression for old kernels Andrii Nakryiko 2020-09-24 10:17:05 -07:00
  • 5f50b4b8c9 libbpf: Fix native endian assumption when parsing BTF Tony Ambardar 2020-09-19 22:01:35 -07:00
  • 787abf721e vmtests: ensure rst2man is installed, needed for bpftool selftests Andrii Nakryiko 2020-09-10 21:39:41 -07:00
  • 820813bd1b sync: latest libbpf changes from kernel Andrii Nakryiko 2020-09-10 16:24:08 -07:00
  • 8333e57e91 sync: auto-generate latest BPF helpers Andrii Nakryiko 2020-09-10 16:24:08 -07:00
  • 8052936468 tools, bpf: Synchronise BPF UAPI header with tools Quentin Monnet 2020-09-04 17:14:54 +01:00
  • 8b14cb43ff Makefile: link against zlib Vladimír Čunát 2020-09-08 10:47:10 +02:00
  • 011700e68d sync: latest libbpf changes from kernel Andrii Nakryiko 2020-09-04 09:22:31 -07:00
  • 106e7dcf58 libbpf: Fix potential multiplication overflow Andrii Nakryiko 2020-09-03 21:16:11 -07:00
  • 3a2ebfc21e libbpf: Fix another __u64 cast in printf Andrii Nakryiko 2020-09-03 21:16:10 -07:00
  • 91001a9923 include: implement list_empty() and list_for_each_entry() Andrii Nakryiko 2020-09-03 20:22:42 -07:00
  • 6384ee1968 sync: latest libbpf changes from kernel Andrii Nakryiko 2020-09-03 18:00:18 -07:00
  • 3f9447bf92 sync: auto-generate latest BPF helpers Andrii Nakryiko 2020-09-03 18:00:18 -07:00
  • 3b80b6c77e libbpf: Fix build failure from uninitialized variable warning Tony Ambardar 2020-08-30 17:03:04 -07:00
  • 78cdb58bdf libbpf: Deprecate notion of BPF program "title" in favor of "section name" Andrii Nakryiko 2020-09-03 13:35:38 -07:00
  • 4b60f82516 libbpf: Add multi-prog section support for struct_ops Andrii Nakryiko 2020-09-03 13:35:34 -07:00
  • 2b28b4fa4d libbpf: Implement generalized .BTF.ext func/line info adjustment Andrii Nakryiko 2020-09-03 13:35:33 -07:00
  • 448789ba27 libbpf: Make RELO_CALL work for multi-prog sections and sub-program calls Andrii Nakryiko 2020-09-03 13:35:32 -07:00
  • a3abae5122 libbpf: Support CO-RE relocations for multi-prog sections Andrii Nakryiko 2020-09-03 13:35:31 -07:00
  • bb5e70706a libbpf: Parse multi-function sections into multiple BPF programs Andrii Nakryiko 2020-09-03 13:35:30 -07:00
  • 994aae7fc8 libbpf: Ensure ELF symbols table is found before further ELF processing Andrii Nakryiko 2020-09-03 13:35:29 -07:00
  • a6e9cf1532 libbpf: Support shared umems between queues and devices Magnus Karlsson 2020-08-28 10:26:27 +02:00
  • 06ae1b0e38 libbpf: Support sleepable progs Alexei Starovoitov 2020-08-27 15:01:13 -07:00