From e2c01bc7b93f3559211102d8f448a5e52643a9f3 Mon Sep 17 00:00:00 2001 From: Geremy Condra Date: Fri, 8 Jun 2012 17:10:50 -0700 Subject: [PATCH] Added logtags for errors in bionic. Specifically, this adds tags for errors in FORTIFY_SOURCE'd parts of bionic and for some indications of DNS spoofing. Change-Id: I186ee36ae42cb6ba4fd5729ede84e2dcd4a56468 --- logcat/event.logtags | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/logcat/event.logtags b/logcat/event.logtags index 2e814ff73..09640e122 100644 --- a/logcat/event.logtags +++ b/logcat/event.logtags @@ -134,5 +134,21 @@ 70200 aggregation (aggregation time|2|3) 70201 aggregation_test (field1|1|2),(field2|1|2),(field3|1|2),(field4|1|2),(field5|1|2) +# libc failure logging +80100 bionic_event_memcpy_buffer_overflow (uid|1) +80105 bionic_event_strcat_buffer_overflow (uid|1) +80110 bionic_event_memmov_buffer_overflow (uid|1) +80115 bionic_event_strncat_buffer_overflow (uid|1) +80120 bionic_event_strncpy_buffer_overflow (uid|1) +80125 bionic_event_memset_buffer_overflow (uid|1) +80130 bionic_event_strcpy_buffer_overflow (uid|1) + +80200 bionic_event_strcat_integer_overflow (uid|1) +80205 bionic_event_strncat_integer_overflow (uid|1) + +80300 bionic_event_resolver_old_response (uid|1) +80305 bionic_event_resolver_wrong_server (uid|1) +80310 bionic_event_resolver_wrong_query (uid|1) + # NOTE - the range 1000000-2000000 is reserved for partners and others who # want to define their own log tags without conflicting with the core platform.