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 Move gatekeeperd to system-background cpuset. 2016-04-15 14:29:40 +02:00
IGateKeeperService.cpp Move system/core/ off NO_ERROR. 2018-10-08 11:15:52 -07:00
IGateKeeperService.h Credential FRP: keep gatekeeperd credentials after reset 2017-04-18 20:50:52 +00:00
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 [gatekeeperd] return brute-force throttling information 2015-05-27 07:45:22 -07:00
SoftGateKeeperDevice.h gatekeeperd: use std::unique_ptr 2017-08-17 14:58:23 +09:00