fdsan: add types for Java sockets.
Test: art/tools/run-libcore-tests.sh Change-Id: If61211bc4ae225c3f89db989a167f9dc4fce375a
This commit is contained in:
parent
431d2ff141
commit
d527cf1f99
2 changed files with 10 additions and 0 deletions
|
@ -249,6 +249,10 @@ const char* android_fdsan_get_tag_type(uint64_t tag) {
|
|||
return "sqlite";
|
||||
case ANDROID_FDSAN_OWNER_TYPE_ART_FDFILE:
|
||||
return "ART FdFile";
|
||||
case ANDROID_FDSAN_OWNER_TYPE_DATAGRAMSOCKETIMPL:
|
||||
return "DatagramSocketImpl";
|
||||
case ANDROID_FDSAN_OWNER_TYPE_SOCKETIMPL:
|
||||
return "SocketImpl";
|
||||
|
||||
case ANDROID_FDSAN_OWNER_TYPE_GENERIC_00:
|
||||
default:
|
||||
|
|
|
@ -114,6 +114,12 @@ enum android_fdsan_owner_type {
|
|||
|
||||
/* ART FdFile */
|
||||
ANDROID_FDSAN_OWNER_TYPE_ART_FDFILE = 9,
|
||||
|
||||
/* java.net.DatagramSocketImpl */
|
||||
ANDROID_FDSAN_OWNER_TYPE_DATAGRAMSOCKETIMPL = 10,
|
||||
|
||||
/* java.net.SocketImpl */
|
||||
ANDROID_FDSAN_OWNER_TYPE_SOCKETIMPL = 11,
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue