Added actual event logging calls to the FORTIFY_SOURCE methods.

Change-Id: I3bf4fa8678c33187cb8ce4b75e666ddcd24403ab
This commit is contained in:
Geremy Condra
2012-06-08 14:39:11 -07:00
parent 76656afc6d
commit 009f38478e
8 changed files with 34 additions and 2 deletions

View File

@@ -47,6 +47,7 @@ void *__memmove_chk (void *dest, const void *src,
if (len > dest_len) {
__libc_android_log_print(ANDROID_LOG_FATAL, "libc",
"*** memmove buffer overflow detected ***\n");
__libc_android_log_event_uid(BIONIC_EVENT_MEMMOVE_BUFFER_OVERFLOW);
abort();
}