liblog: Add xlog support

Change-Id: I003ab096a5dc71f25438ae3c6dbd72005d82ee77
libutils: Forward-port an old callstack method

Change-Id: I77a0dbc6214e662c2217f25cdf3f3883cd959bb3
Update tcp buffersize settings

Soem of these values are from CAF, some of these are
from various shipping devices, some are educated
guesses based on the properties of each connection.

In general, the higher the bandwidth-delay product
of a network, the larger the buffer needs to be.

Change-Id: Idd8cd27727b5e66bd3a46be5f9853380acbda8ba
init: fixup cpufreq permissions

It is safe to have read permissions for everyone
Also required for the CPU info overlay service

PS3:
add cpu0-cpu3

Change-Id: I1de067f63121a8a19f29d4e994fbc3bf73054556
libsparse: Use BIONIC implementation of mmap64()

Change-Id: I63692629d3a62b7aee21202b67241904b1cc9789
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
Increase buffer size, use bounds checking functions

Increase the size of the user/group buffer from 16 bytes
to 32 bytes. Some OEMs are creating usernames longer than
15 bytes, causing problems.

Use bounds checking functions when handling user/group
data, to avoid overflowing buffers.

Change-Id: I4a5824b819b0c37662ba4f33573af0d0e071b444
init: handle ueventd path truncation better

Log an error before discarding problematic events, and add a missing
truncation check to the usb subsystem's unique codepath

Change-Id: I0d05aa287ffc63b46d1752d2a7409d35dc8caca7
Signed-off-by: Greg Hackmann <ghackmann@google.com>