diff options
author | Jorge Lucangeli Obes <jorgelo@google.com> | 2017-01-12 15:42:22 -0500 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2017-01-13 15:43:45 +0000 |
commit | f4ae42f6a83cd4edaf90df4f509550e4690d6998 (patch) | |
tree | 8844c7a6a91372a49c4b5022a71c76feefcb1b81 /libutils/ProcessCallStack.cpp | |
parent | dc4081316760ace4428e1a22034fa02e0f851e4f (diff) |
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
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions