summaryrefslogtreecommitdiffstats
path: root/lmkd
diff options
context:
space:
mode:
authorAndres Morales <anmorales@google.com>2015-07-09 16:01:24 -0700
committerSteve Kondik <steve@cyngn.com>2015-11-09 03:14:59 -0800
commitb042227e4c6edb2e0555704eaf00bcf27f966558 (patch)
treee2839325c04b321da2b1fcdbef40d6572d3d7741 /lmkd
parent8d6bc1cabe64c068b314e7090d70e30d01326df0 (diff)
downloadsystem_core-b042227e4c6edb2e0555704eaf00bcf27f966558.zip
system_core-b042227e4c6edb2e0555704eaf00bcf27f966558.tar.gz
system_core-b042227e4c6edb2e0555704eaf00bcf27f966558.tar.bz2
[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)
Diffstat (limited to 'lmkd')
0 files changed, 0 insertions, 0 deletions