OSDN Git Service

Use getpwnam()/getgrnam() instead of AID_* macros (dumpstate)
authorYifan Hong <elsk@google.com>
Wed, 26 Jul 2017 17:47:53 +0000 (10:47 -0700)
committerYifan Hong <elsk@google.com>
Wed, 26 Jul 2017 20:05:22 +0000 (13:05 -0700)
commit8ded50cc0df099ce1e573cb9af870260180bea67
tree113c649794e55206b82b0c534c7832414b38a108
parent65799c3f8363e94d7e0c248ca268382e1ecab6b1
Use getpwnam()/getgrnam() instead of AID_* macros (dumpstate)

AID_* values are defined in libcutils private headers and hence
is not exported. Use getpwnam() instead to get these values.

Test: device boots
Test: bugreport
Test: dumpstate_test
Bug: 63135587
Change-Id: Ib35fe4fc4524eb1885616a9a1403ceb09f713777
cmds/dumpstate/DumpstateInternal.cpp