liblog: fix fd leakage

File descriptors remain open across an exec unless FD_CLOEXEC is
set.  Add O_CLOEXEC to the open() call to prevent file descriptor
leakage.

In particular, the following program will eventually run out of
file descriptors:

int main(int argc, char **argv) {
  printf("===== entering main =====\n");
  ALOGW("entering main");
  system("ls -l /proc/self/fd/");

  execv(argv[0], argv);
  printf("exec failed\n");
  return -1;
}

Change-Id: I5be43ab3b9f82a05f242b1f586454c50568af388
Fix issues where the filename is referred to as 'sideload'

The adb sideload utility referes to the filename as 'sideload' in some
places. This patch changes the printouts to display the filename instead.

Change-Id: I38ada01a08bed53a8d9697c03f55ce8cee2abe12
Signed-off-by: Magnus Eriksson <eriksson.mag@gmail.com>
derp

Change-Id: I9c12fbd83b606a7dfd637bce195951f5bc3d0e63
Stop the damn warning

Change-Id: I825a0887fb4c9e4c7127e13c9cfe4c0c22b765d6
fix audio blobs for ics recording

Change-Id: I760482b0b2f39a6e7458380889fc6853f9d4c66d
charger: do not suspend when handling home credit to @pawitp

Change-Id: Ia5d37e3040a5e2b3c2332dc8ff35549dc857bd51
suspend enable in charger mode thx @mnm9994u

Change-Id: Idfc5b4a1357b42f030d0ae879b9cb7fd7f1a4fe3
fix merge

Change-Id: Ie3cedbd7dae6f78e323645a945185ef36f1eb9f8