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
mountinfo.go -rw-r--r-- 3.1 KB
mountinfo_linux.go -rw-r--r-- 1.4 KB
mountinfo_privileged_test.go -rw-r--r-- 1.3 KB
mountinfo_test.go -rw-r--r-- 21.8 KB
mountinfo_unspecified.go -rw-r--r-- 629 bytes

back to top