Skip to content

Conversation

ti-mo
Copy link
Collaborator

@ti-mo ti-mo commented Sep 24, 2024

In #1558 (review), it was pointed out that BPF_F_RDONLY_PROG only implies a map being read-only from bpf space, not user space. Using the flag to trigger freezing a map from user space doesn't make much sense.

Change this to a name-based trigger, more closely resembling the libbpf behaviour.

In cilium#1558, it was pointed out that BPF_F_RDONLY_PROG only implies a map being
read-only from bpf space, not user space. Using the flag to trigger freezing
a map from user space doesn't make much sense.

Change this to a name-based trigger, more closely resembling the libbpf
behaviour.

Signed-off-by: Timo Beckers <timo@isovalent.com>
@ti-mo ti-mo requested a review from a team as a code owner September 24, 2024 13:50
@ti-mo ti-mo merged commit 21f2c7e into cilium:main Sep 24, 2024
17 checks passed
@ti-mo ti-mo deleted the tb/fix-freeze-flag branch September 24, 2024 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant