commit | ba9868bd783b1c515a76f382bd5622f84187234f | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@google.com> | Fri Jan 31 15:49:24 2020 +0100 |
committer | Martijn Coenen <maco@google.com> | Tue Feb 04 13:02:51 2020 +0100 |
tree | b0ffba8bc521acf6e587b148e545f801e845ab08 | |
parent | 62a4b279ab7ccff78e0c2a23456160b2ac272e06 [diff] |
Set correct quota project ID on application directories. Use PrepareAppDirsFromRoot() to setup the quota project ID on application-specific directories correctly. App directories use AID_EXT_GID_START + their application ID offset, whereas cache directories use AID_CACHE_GID_START. This is consistent with the GIDs sdcardfs used to label these directories with. Bug: 146419093 Test: verified project IDs with lsattr -p Change-Id: Idca8a30d185012efb0d19ceb9b346b9a4de34f18