platform_system_core/gatekeeperd/tests
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
..
Android.mk [gatekeeperd] copy uid to local before passing to u_map 2015-11-05 11:09:21 -08:00
gatekeeper_test.cpp Add missing include. Clang build fix. 2015-06-10 17:34:58 -07:00