From 2eae692b05a06d238784a52cc9adb9857d1b7e6c Mon Sep 17 00:00:00 2001 From: Georgia Garcia Date: Mon, 5 Aug 2024 10:27:37 -0300 Subject: [PATCH] libapparmor: fix undefined reference to aa_split_overlay_str The linkage of aa-load with the dynamic libapparmor fails with: aa_load.c:273: undefined reference to `aa_split_overlay_str' That is because when aa_split_overlay_str was added to libapparmor, the function was not added to the library map. Fixes: 50054ff0 ("add aa_split_overlay_str") Signed-off-by: Georgia Garcia --- libraries/libapparmor/src/libapparmor.map | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/libapparmor/src/libapparmor.map b/libraries/libapparmor/src/libapparmor.map index 08cd2fadc..436522a55 100644 --- a/libraries/libapparmor/src/libapparmor.map +++ b/libraries/libapparmor/src/libapparmor.map @@ -127,6 +127,7 @@ APPARMOR_3.0 { APPARMOR_3.1 { global: aa_features_check; + aa_split_overlay_str; local: *; } APPARMOR_3.0;