Change sprintf to snprintf calls.

Change-Id: I8893246fcd541d97b02a1a4cac81c53c6cd2e394
logd: Statistics improvements

- Drop in-place sorting.
- Add fast-track for uid sizes and elements.
- Add sort() for per-uid and per-pid statistics.

Change-Id: Ib8655d4cc0b3bd4e87534522987bcc7fc7a5251a
liblog: test bionic libc_logging.cpp

Change-Id: Ia778c43513a28c85ae54e96926ee9ed56717d527
logd: enable UID spam filter and test

Change-Id: Ie9c7a744e341e6e64afa14973d4d095717c97933
Merge "Change sprintf to snprintf calls."
Remove libcorkscrew.

All unwinding is now done through libunwind.

Change-Id: I93ba6f5bd5ad41eeb5f6a93113b7894f842cc8e0
Merge "liblog: test bionic libc_logging.cpp"
Merge "logd: Statistics improvements"
Merge "logd: enable UID spam filter and test"
Merge "Remove libcorkscrew."
Use the si_code value bionic passes us.

Bionic needs to re-raise various signals, which means the si_code
debuggerd sees has been clobbered. If bionic sends us the original
si_code value, we can use that instead of the one we see when the
ptrace the crashed process' siginfo.

Change-Id: If116a6bc667d55a6fb39b74f96673292af4e4c8c
Merge "Use the si_code value bionic passes us."
Merge remote-tracking branch 'aosp/master' into fml-master