logwrap: wait for child process when receiving SIGINT or SIGQUIT

- Wait for the child to exit before propagating SIGINT and SIGQUIT
to the parent
- Add ignore_int_quit argument to logwrap() that gives the caller the
option to ignore SIGINT and SIGQUIT while logwrap is running

Change-Id: If5c96cf23094917211310f00aa6aed515f110f5b
3 files changed
tree: b20a1128c2c7e0c9d59dc72ba3ebfbd0ee8b457e
  1. liblog/
  2. logcat/
  3. logwrapper/