Revision b9098e6b25f97b4af51ebec3c24f5cf6ad48551f authored by Gilberto Bertin on 29 February 2024, 07:36:40 UTC, committed by Martynas Pumputis on 29 February 2024, 15:47:00 UTC
currently some functions in policy.h reference POLICY_MAP, assuming it's
always defined. This prevents including this header in a context where
the POLICY_MAP is not defined.

To overcome this, remove all the POLICY_MAP references from these
functions and always pass the map explicitly in the caller.

No functional changes are introduced.

Signed-off-by: Gilberto Bertin <jibi@cilium.io>
1 parent d7dba5e
History
File Mode Size
doc.go -rw-r--r-- 228 bytes
endpoint.go -rw-r--r-- 1.5 KB
helpers_test.go -rw-r--r-- 4.5 KB
manager.go -rw-r--r-- 22.0 KB
manager_privileged_test.go -rw-r--r-- 18.5 KB
net.go -rw-r--r-- 1.1 KB
policy.go -rw-r--r-- 9.9 KB
resource.go -rw-r--r-- 662 bytes

back to top