commit | 517e1f17cfec2143d4d10a64b1496a550acf3ea2 | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Thu May 04 17:40:33 2017 -0700 |
committer | Tom Cherry <tomcherry@google.com> | Fri May 05 14:37:01 2017 -0700 |
tree | eda028c6359878b7f5d3ab56d2dc65a4ac1cad39 | |
parent | 3d7ee068e0a0ce707965835f58abce65189abda4 [diff] |
init: Check DecodeUid() result and use error string Check the result of DecodeUid() and return failure when uids/gids are unable to be decoded. Also, use an error string instead of logging directly such that more context can be added when decoding fails. Bug: 38038887 Test: Boot bullhead Test: Init unit tests Change-Id: I84c11aa5a8041bf5d2f754ee9af748344b789b37