commit | 5e02c8e333367b616cd751cda7ebea3a6e96ea48 | [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 | 04ca4053d62f341abb712ba93cadcd2694e35966 [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