• Mark Salyzyn's avatar
    bionic: Implement getpwent and getgrent · 722ab05b
    Mark Salyzyn authored
    Not efficient to iterate through given the large number of Android
    ids (AID). Compile warning will result if you use these functions,
    telling you as much. Not for general consumption, however for
    example, some filesystem tests would like to see these to perform
    all corners.
    
    About 1/4 second for getpwent, and 1/8 second for getgrent to iterate
    through all reserved Android aids.
    
    Bug: 27999086
    Change-Id: I7784273b7875c38e4954ae21d314f35e4bf8c2fc
    722ab05b
grp_pwd_test.cpp 10.9 KB