platform_system_core/gatekeeperd
David Anderson 97400bd865 Use distinct GateKeeper userids when running a GSI.
GateKeeper uses userids to key authentication data. This poses a problem
for GSIs, since both the GSI and the host image will be storing separate
authentication data for the same userids.

To account for this, we add a large offset (1000000) to GSI userids
before handing them off to the GateKeeper HAL. Note that
SyntheticPasswordManager uses a similar trick to store Weaver data in
GateKeeper (when a Weaver HAL is not available).

Bug: 123716647
Test: PIN authentication works after booting into a GSI
Change-Id: I714368919f8e46ff1931f350342f09fa09225a35
2019-02-28 08:56:30 -08:00
..
tests Convert more modules to Android.bp 2018-10-31 21:53:37 -07:00
Android.bp Use distinct GateKeeper userids when running a GSI. 2019-02-28 08:56:30 -08:00
gatekeeperd.cpp Use distinct GateKeeper userids when running a GSI. 2019-02-28 08:56:30 -08:00
gatekeeperd.rc
IGateKeeperService.cpp Move system/core/ off NO_ERROR. 2018-10-08 11:15:52 -07:00
IGateKeeperService.h
OWNERS Add OWNERS file to gatekeeperd 2018-02-14 16:04:36 -07:00
SoftGateKeeper.h gatekeeperd: use std::unique_ptr 2017-08-17 14:58:23 +09:00
SoftGateKeeperDevice.cpp
SoftGateKeeperDevice.h gatekeeperd: use std::unique_ptr 2017-08-17 14:58:23 +09:00