From 2b9e8860ec6a2c0bed0c976f430fa865bc5af649 Mon Sep 17 00:00:00 2001 From: Lorenzo Colitti Date: Wed, 2 Feb 2022 11:33:10 +0900 Subject: [PATCH] Really expose the new NDK socket tagging functions added in T. These functions were already exposed as part of libandroid_net, but that is not really part of the NDK. Expose them in libandroid as well, so apps can actually use them. This is consistent with all the other native networking APIs, which are exposed in both libandroid_net and libandroid. Test: atest CtsNativeNetPlatformTestCases Test: strings out/target/product/bramble/system/lib64/libandroid.so | grep android_tag Change-Id: I2273cdd48b30a88b82eb3af838031d9fe8897442 --- native/android/libandroid.map.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/native/android/libandroid.map.txt b/native/android/libandroid.map.txt index f33e11817730..220175398eba 100644 --- a/native/android/libandroid.map.txt +++ b/native/android/libandroid.map.txt @@ -300,6 +300,9 @@ LIBANDROID { android_res_nquery; # introduced=29 android_res_nresult; # introduced=29 android_res_nsend; # introduced=29 + android_tag_socket_with_uid; # introduced=Tiramisu + android_tag_socket; # introduced=Tiramisu + android_untag_socket; # introduced=Tiramisu AThermal_acquireManager; # introduced=30 AThermal_releaseManager; # introduced=30 AThermal_getCurrentThermalStatus; # introduced=30