commit | 0506b18a3655562ad32ee279ba394f9869faf995 | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Thu Feb 23 13:46:09 2017 -0800 |
committer | Tom Cherry <tomcherry@google.com> | Thu Feb 23 13:50:21 2017 -0800 |
tree | c940d771950f7dec18b29a0453bd88bc6bdc304f | |
parent | 4bd3facbb1e79055f92e2ea8d42cb81552ffc6bb [diff] |
Check setegid() return values The clang static analyzer is complaining that we are not checking the setegid() return value, so let's add these checks. We should never fail to return to AID_ROOT, so fail hard in this case. Bug: 26962034 Test: Boot bullhead Test: export WITH_STATIC_ANALYZER=1 and run 'mm' in the project directory Change-Id: I62e95b045c5734305c71502871b6cf17f152edbc