logd: klogd deal with nuls in dmesg

Switch to using string and length in all transactions, treating
trailing nuls the same as spaces.

ToDo: change dumpstate (bugreport) to use logcat -b printable _regardless_

Bug: 23517551
Change-Id: I42162365e6bf8ed79d356e7b689a673902116fdb
5 files changed
tree: 6f1000dda4b0d54ebb4de35ee91d442a60e43a27
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/