Skip to content

Commit

Permalink
upgrade libbpfgo to v0.7.0-libbpf-1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mozillazg committed Aug 11, 2024
1 parent 47286a6 commit d9443fe
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
module github.com/mozillazg/cloud-native-security-with-ebpf

go 1.18
go 1.21

toolchain go1.21.0

require (
github.com/aquasecurity/libbpfgo v0.4.9-libbpf-1.2.0
github.com/aquasecurity/libbpfgo v0.7.0-libbpf-1.4
golang.org/x/net v0.28.0
)

Expand Down
10 changes: 7 additions & 3 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
github.com/aquasecurity/libbpfgo v0.4.9-libbpf-1.2.0 h1:pk9L7I6wF1nTfO42+jjXhA8ozRjvtj2ZvHV/i/YC0dE=
github.com/aquasecurity/libbpfgo v0.4.9-libbpf-1.2.0/go.mod h1:UD3Mfr+JZ/ASK2VMucI/zAdEhb35LtvYXvAUdrdqE9s=
github.com/aquasecurity/libbpfgo v0.7.0-libbpf-1.4 h1:rQ94U12Xlz2tncE8Rxnw3vpp/9hgUIEu3/Lv0/XQM0Q=
github.com/aquasecurity/libbpfgo v0.7.0-libbpf-1.4/go.mod h1:iI7QCIZ3kXG0MR+FHsDZck6cYs1y1HyZP3sMObBg0sk=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE=
golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg=
golang.org/x/sys v0.23.0 h1:YfKFowiIMvtgl1UERQoTPPToxltDeZfbj4H7dVUCwmM=
golang.org/x/sys v0.23.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
2 changes: 1 addition & 1 deletion libbpf
Submodule libbpf updated 62 files
+1 −1 .gitattributes
+3 −0 .github/PULL_REQUEST_TEMPLATE.md
+1 −0 .github/actions/build-selftests/build_selftests.sh
+2 −0 .github/actions/build-selftests/prepare_selftests-4.9.0.sh
+2 −0 .github/actions/build-selftests/prepare_selftests-5.5.0.sh
+76,637 −78,660 .github/actions/build-selftests/vmlinux.h
+19 −0 .github/actions/vmtest/action.yml
+6 −2 .readthedocs.yaml
+1 −1 BPF-CHECKPOINT-COMMIT
+1 −1 CHECKPOINT-COMMIT
+1 −1 README.md
+0 −70 ci/diffs/0001-s390-define-RUNTIME_DISCARD_EXIT-to-fix-link-error-w.patch
+0 −46 ci/diffs/0001-selftests-bpf-Select-CONFIG_FUNCTION_ERROR_INJECTION.patch
+0 −83 ci/diffs/0001-veth-take-into-account-peer-device-for-NETDEV_XDP_AC.patch
+56 −0 ci/diffs/0002-xdp-bonding-Fix-feature-flags-when-there-are-no-slav.patch
+1 −4 ci/vmtest/configs/ALLOWLIST-5.5.0
+14 −0 ci/vmtest/configs/DENYLIST
+2 −115 ci/vmtest/configs/DENYLIST-5.5.0
+12 −0 ci/vmtest/configs/DENYLIST-latest
+14 −0 ci/vmtest/configs/DENYLIST-latest.s390x
+10 −3 ci/vmtest/run_selftests.sh
+1 −0 docs/conf.py
+10 −0 docs/program_types.rst
+2 −1 docs/sphinx/requirements.txt
+8 −0 include/linux/filter.h
+2 −0 include/linux/kernel.h
+370 −48 include/uapi/linux/bpf.h
+8 −0 include/uapi/linux/fcntl.h
+142 −0 include/uapi/linux/if_link.h
+59 −1 include/uapi/linux/if_xdp.h
+115 −1 include/uapi/linux/netdev.h
+15 −1 include/uapi/linux/perf_event.h
+0 −47 include/uapi/linux/pkt_cls.h
+0 −109 include/uapi/linux/pkt_sched.h
+4 −3 scripts/build-fuzzers.sh
+6 −3 src/Makefile
+187 −50 src/bpf.c
+194 −31 src/bpf.h
+84 −8 src/bpf_core_read.h
+241 −223 src/bpf_helper_defs.h
+18 −5 src/bpf_helpers.h
+3 −4 src/bpf_tracing.h
+197 −8 src/btf.c
+19 −3 src/btf_dump.c
+558 −0 src/elf.c
+583 −0 src/features.c
+7 −7 src/gen_loader.c
+0 −10 src/hashmap.h
+1,899 −858 src/libbpf.c
+219 −4 src/libbpf.h
+27 −2 src/libbpf.map
+19 −0 src/libbpf_common.h
+98 −4 src/libbpf_internal.h
+20 −4 src/libbpf_probes.c
+1 −1 src/libbpf_version.h
+24 −5 src/linker.c
+6 −1 src/netlink.c
+1 −1 src/relo_core.c
+72 −13 src/ringbuf.c
+3 −0 src/str_error.h
+2 −2 src/usdt.bpf.h
+85 −41 src/usdt.c

0 comments on commit d9443fe

Please sign in to comment.