platform_system_core/gatekeeperd
Andres Morales 70309ff8c7 [gatekeeperd] copy uid to local before passing to u_map
The compiler will issue the unaligned access instuctions
when reading from a packed struct. Since 'find' takes a
reference, if we pass the field directly it is removed
from its packed context and may be unreadable.

Read the field out directly from the packed struct and pass
in aligned to u_map to fix.

Bug: 22367550
Change-Id: Ia3b639c7518154ff5a2b7c233b752e154eab9aad
(cherry picked from commit 6e83dc4d325d68b568c841d3e88fda2a93e00663)
2015-11-05 11:09:21 -08:00
..
tests [gatekeeperd] copy uid to local before passing to u_map 2015-11-05 11:09:21 -08:00
Android.mk update bundled rc files to their contents from rootdir/init.rc 2015-08-21 21:54:42 +00:00
IGateKeeperService.cpp [gatekeeperd] return brute-force throttling information 2015-05-27 07:45:22 -07:00
IGateKeeperService.h [gatekeeperd] return brute-force throttling information 2015-05-27 07:45:22 -07:00
IUserManager.cpp [gatekeeperd] Check parent profile for SID lookups 2015-08-05 10:32:13 -07:00
IUserManager.h [gatekeeperd] Check parent profile for SID lookups 2015-08-05 10:32:13 -07:00
SoftGateKeeper.h [gatekeeperd] copy uid to local before passing to u_map 2015-11-05 11:09:21 -08:00
SoftGateKeeperDevice.cpp [gatekeeperd] return brute-force throttling information 2015-05-27 07:45:22 -07:00
SoftGateKeeperDevice.h [gatekeeperd] add fast path for SW password verification 2015-06-22 12:05:57 -07:00
gatekeeperd.cpp [gatekeeperd] Check parent profile for SID lookups 2015-08-05 10:32:13 -07:00
gatekeeperd.rc update bundled rc files to their contents from rootdir/init.rc 2015-08-21 21:54:42 +00:00