You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Revert "libbpf-cargo: Don't provide kconfig data access after "open""
Commit 27dfe16 "libbpf-cargo: Don't provide kconfig data access after "open""
worked around the fact that the kconfig data member may not be present
whenever. As it turns out, there is no guarantee that any of the data
members are available as memory mapped data: on older kernels that "do
not support memory-mapped global variable maps, libbpf will just avoid
doing mmap" [0].
Revert this special sauce work around, as that means it's basically
unnecessary now and we have to come up with a generic solution instead.
This reverts commit 27dfe16.
[0]: #1151 (comment)
Signed-off-by: Daniel Müller <[email protected]>
0 commit comments