History log of /bionic/tests/grp_pwd_test.cpp
Revision Date Author Comments
3f6eee9793e4c41c7f4b15a723c777ae67fb1e51 14-Dec-2016 Elliott Hughes <enh@google.com> Revert "Revert "move android_ids into bionic""

This reverts commit 77cb68d9f2621639ec7f4e1b124ceeee5c80a66a.

Change-Id: Ibc9f775c4cd418be90fd8a6f192dd72ca5dff09a
934bc86df3e9593551e1a09e242c72f0ee1afb3e 13-Dec-2016 Jeff Sharkey <jsharkey@android.com> Define range of GIDs for cached app data.

To support upcoming disk usage calculation optimizations, this change
creates a new GID for each app that will be used to mark its cached
data. We're allocating these unique GIDs so that we can use
quotactl() to track cached data on a per-app basis.

Test: builds, boots, tests pass
Bug: 27948817
Change-Id: Ic00c39ccedc23d5d43988029e9921679126f8f2d
e8a57c24c6b697dfdc2a4838c80638e7f54375e3 12-Dec-2016 Elliott Hughes <enh@google.com> Revert "move android_ids into bionic"

This reverts commit 1a13db5b2675759316a8529873c5d29831a9ba32.

Change-Id: I7f571b3a9d542694d16fb9cf1131ef9e59d330ea
(cherry picked from commit 77cb68d9f2621639ec7f4e1b124ceeee5c80a66a)
5367d1b9d97a01499b5b46849b06dbbf74865de9 13-Dec-2016 Elliott Hughes <enh@google.com> Rename <grp.h>/<pwd.h> tests to fit the usual pattern.

Bug: N/A
Test: ran tests
Change-Id: I5ec30cc17f94e631f3376b671055a0e82fb472c3
77cb68d9f2621639ec7f4e1b124ceeee5c80a66a 12-Dec-2016 Elliott Hughes <enh@google.com> Revert "move android_ids into bionic"

This reverts commit 1a13db5b2675759316a8529873c5d29831a9ba32.

Change-Id: I7f571b3a9d542694d16fb9cf1131ef9e59d330ea
1a13db5b2675759316a8529873c5d29831a9ba32 08-Apr-2016 William Roberts <william.c.roberts@intel.com> move android_ids into bionic

Generate the android_ids array and include into the
build.

Test: The bionic is built and that core AIDs work as
expected with commands like chown, mkdir and init services
and builtins.
Bug: 27999086
Change-Id: Ib575bf85326c91801c5674db475dcb9cf44c00dc
Signed-off-by: William Roberts <william.c.roberts@intel.com>
722ab05b255070e6c8add450c94eeb790618c98e 06-Apr-2016 Mark Salyzyn <salyzyn@google.com> bionic: Implement getpwent and getgrent

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
8d387ee1ecbcde6d7435a909476e50afc9bed464 05-Apr-2016 Mark Salyzyn <salyzyn@google.com> fix oem_XXXX ids to incorporate both ranges

The XXXX now lines up to the underlying uid and has no offset.
Work with AID_OEM_RESERVED uids.

Test uses hard coded values to catch changes in the API expectations
that may occur in private/android_filesystem_config.h.

SideEffects: names change, some product dependencies.

Bug: 27999086
Change-Id: Ic2b4c36de74ae009a44e14711c75834293828207
3735539fc3bcf21b0d994110f359f9f4d7fd16af 06-Apr-2016 Elliott Hughes <enh@google.com> Rename the <grp.h>/<pwd.h> tests to reflect that they're no longer in stubs.cpp.

Bug: http://b/27999086
Change-Id: I3255ad5861a705beeb9b462e22f79ae1e5a85a79