Upgrade cilium/ebpf to v0.18.0

What does this MR do?

Takeover from Upgrade cilium/ebpf library (!4829 - closed) • znley

github.com/cilium/ebpf is a dependency of github.com/KimMachineGun/automemlimit/memlimit. It is an indirect dependency, due to github.com/containerd/cgroups/v3@v3.0.1. I didn't dig deeper why cgroups requires it but we should be pretty safe to upgrade it.

Why was this MR needed?

From original MR:

It can help build gitlab-runner on loongarch64(a riscv architecture). https://github.com/cilium/ebpf/pull/975

This is important for alpine to support loongarch64, because alpine's ci needs gitlab-runner. https://gitlab.alpinelinux.org/alpine/tsc/-/issues/72

What's the best way to test this MR?

Tests should run OK.

What are the relevant issue numbers?

Edited by Georgi N. Georgiev | GitLab

Merge request reports

Loading