summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryFileTest.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2019-02-15 15:59:39 -0800
committerDavid Anderson <dvander@google.com>2019-02-28 08:56:30 -0800
commit97400bd86535f2b4ce337c0b160c799c1afeca57 (patch)
tree0010d1a80508904a5851d7167564f2b247e8fdf5 /libunwindstack/tests/MemoryFileTest.cpp
parent33f344cb36846c33a7efcc80e9de1024cb698d3a (diff)
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
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions