diff options
author | Tom Cherry <tomcherry@google.com> | 2017-05-04 17:40:33 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2017-05-05 14:37:01 -0700 |
commit | 517e1f17cfec2143d4d10a64b1496a550acf3ea2 (patch) | |
tree | eda028c6359878b7f5d3ab56d2dc65a4ac1cad39 /init/init_parser.cpp | |
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
Diffstat (limited to 'init/init_parser.cpp')
0 files changed, 0 insertions, 0 deletions