aquasecurity / libbpfgo

eBPF library for Go. Powered by libbpf.
Apache License 2.0
739 stars 94 forks source link

Use high level API bpf_map__update_elem in Update() #222

Open grantseltzer opened 2 years ago

grantseltzer commented 2 years ago

In libbpf 1.0 we have new bpf_map__update_elem which we should use instead in bpfmap.Update() and probably bpfmap.UpdateFlags()

grantseltzer commented 2 years ago

related: https://github.com/aquasecurity/libbpfgo/issues/180