Check the return value of setuid(2).

I'd like to mark setuid() WARN_UNUSED_RESULT to prevent security bugs.
This line would break because the file is compiled with -Werror.

Bug: 34251640
Test: Build, run unit test.
Change-Id: Ibb6fa5e5b899d47f77f2a32da762165de310101d
1 file changed
tree: 1875ca7a36664b0660d8008040991517694726cb
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/