platform_system_core/gatekeeperd
Stephen Hines b0775ca517 Switch to memcpy for accessing misaligned data.
Bug: http://b/31532493

Using misaligned pointers forces us to potentially take the address of
members in a packed structure (which is now a warning/error in the
latest Clang). Using memcpy() is the proper way to handle this kind of
problem, as the compiler can insert the proper instructions (and usually
elide the memcpy() entirely).

Test: Built correctly with updated compilers.
Change-Id: Ia1f6eb62cf19404ff76b71d3c6c7ffffa1403120
2016-12-07 03:46:55 -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
gatekeeperd.cpp system/core Replace cutils/log.h with android/log.h 2016-09-30 12:47:05 -07:00
gatekeeperd.rc Move gatekeeperd to system-background cpuset. 2016-04-15 14:29:40 +02: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 Fix google-explicit-constructor warnings. 2016-04-29 15:44:04 -07:00
IUserManager.h [gatekeeperd] Check parent profile for SID lookups 2015-08-05 10:32:13 -07:00
SoftGateKeeper.h Switch to memcpy for accessing misaligned data. 2016-12-07 03:46:55 -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