am 18860c52: Enable run-as to read packages.list now owned by package_info.

* commit '18860c524915bc991a9015bdbab32e918f5298d7':
  Enable run-as to read packages.list now owned by package_info.
This commit is contained in:
Alex Klyubin 2013-08-20 15:53:37 -07:00 committed by Android Git Automerger
commit 3b46298c98
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ map_file(const char* filename, size_t* filesize)
*/
oldegid = getegid();
if (setegid(AID_SYSTEM) < 0) {
if (setegid(AID_PACKAGE_INFO) < 0) {
return NULL;
}