Move fdtrack APIs to LLNDK.

Test: logcat -c; fdtrack_test; logcat -d
Change-Id: Ib6f75a7c8bbc4d6efa0708dcbbfe4ad3c0641022
This commit is contained in:
Josh Gao 2020-01-28 13:24:33 -08:00
parent 97271920bf
commit 7596250722
6 changed files with 7 additions and 8 deletions

View File

@ -28,8 +28,7 @@
#include <stdatomic.h>
#include <android/fdtrack.h>
#include <platform/bionic/fdtrack.h>
#include <platform/bionic/reserved_signals.h>
#include "private/bionic_fdtrack.h"

View File

@ -1484,9 +1484,6 @@ LIBC_R { # introduced=R
global:
__mempcpy_chk;
__tls_get_addr; # arm64
android_fdtrack_compare_exchange_hook;
android_fdtrack_get_enabled;
android_fdtrack_set_enabled;
call_once;
cnd_broadcast;
cnd_destroy;
@ -1755,6 +1752,9 @@ LIBC_PLATFORM {
__system_property_set_filename;
__system_property_update;
android_fdsan_get_fd_table;
android_fdtrack_compare_exchange_hook; # llndk
android_fdtrack_get_enabled; # llndk
android_fdtrack_set_enabled; # llndk
android_net_res_stats_get_info_for_net;
android_net_res_stats_aggregate;
android_net_res_stats_get_usable_servers;

View File

@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#include <stdatomic.h>
#include <android/fdtrack.h>
#include "platform/bionic/fdtrack.h"
#include "bionic/pthread_internal.h"
#include "private/bionic_tls.h"

View File

@ -32,7 +32,7 @@
#include <mutex>
#include <vector>
#include <android/fdtrack.h>
#include <bionic/fdtrack.h>
#include <android-base/no_destructor.h>
#include <android-base/thread_annotations.h>

View File

@ -25,7 +25,7 @@
#include <unistd.h>
#if defined(__BIONIC__)
#include <android/fdtrack.h>
#include "platform/bionic/fdtrack.h"
#endif
#include <vector>