Merge "Update data type and comments on tagSocket/untagSocket APIs" am: ef89731cd3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2049804 Change-Id: Ic958c83026e64072ece9361227bbd0bcfe79f5e2 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -5,20 +5,20 @@
|
|||||||
# which might be a few years old.
|
# which might be a few years old.
|
||||||
LIBANDROID_NET {
|
LIBANDROID_NET {
|
||||||
global:
|
global:
|
||||||
# These functions have been part of the NDK since API 24.
|
# These functions have been part of the LL-NDK since API 24.
|
||||||
android_getaddrinfofornetwork; # llndk
|
android_getaddrinfofornetwork; # llndk
|
||||||
android_setsocknetwork; # llndk
|
android_setsocknetwork; # llndk
|
||||||
android_setprocnetwork; # llndk
|
android_setprocnetwork; # llndk
|
||||||
# These functions have been part of the NDK since API 29.
|
# These functions have been part of the LL-NDK since API 29.
|
||||||
android_res_cancel; # llndk
|
android_res_cancel; # llndk
|
||||||
android_res_nquery; # llndk
|
android_res_nquery; # llndk
|
||||||
android_res_nresult; # llndk
|
android_res_nresult; # llndk
|
||||||
android_res_nsend; # llndk
|
android_res_nsend; # llndk
|
||||||
# These functions have been part of the NDK since API 31.
|
# These functions have been part of the LL-NDK since API 31.
|
||||||
android_getprocnetwork; # llndk
|
android_getprocnetwork; # llndk
|
||||||
android_setprocdns; # llndk
|
android_setprocdns; # llndk
|
||||||
android_getprocdns; # llndk
|
android_getprocdns; # llndk
|
||||||
# These functions have been part of the NDK since API 33.
|
# These functions have been part of the LL-NDK since API 33.
|
||||||
android_tag_socket_with_uid; # llndk
|
android_tag_socket_with_uid; # llndk
|
||||||
android_tag_socket; # llndk
|
android_tag_socket; # llndk
|
||||||
android_untag_socket; # llndk
|
android_untag_socket; # llndk
|
||||||
|
|||||||
@@ -162,11 +162,11 @@ void android_res_cancel(int nsend_fd) {
|
|||||||
resNetworkCancel(nsend_fd);
|
resNetworkCancel(nsend_fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
int android_tag_socket_with_uid(int sockfd, int tag, uid_t uid) {
|
int android_tag_socket_with_uid(int sockfd, uint32_t tag, uid_t uid) {
|
||||||
return tagSocket(sockfd, tag, uid);
|
return tagSocket(sockfd, tag, uid);
|
||||||
}
|
}
|
||||||
|
|
||||||
int android_tag_socket(int sockfd, int tag) {
|
int android_tag_socket(int sockfd, uint32_t tag) {
|
||||||
return tagSocket(sockfd, tag, -1);
|
return tagSocket(sockfd, tag, -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user