History log of /system/core/gatekeeperd/SoftGateKeeper.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
68b0ec6487186d59b1ec1dfcbc85673fc452bc4a 16-Aug-2017 Justin Yun <justinyun@google.com> gatekeeperd: use std::unique_ptr

std::unique_ptr is available in this scope. Substitue the UniquePtr to
std::unique_ptr.

Bug: 63686260
Test: build and boot
Change-Id: Ib8ea3fb5c49c0e92d962f65f1139b073168f8698
/system/core/gatekeeperd/SoftGateKeeper.h
00fe3ad7287fa62c09d9ab707c71ca9f3f7a8404 19-Jul-2017 Steven Moreland <smoreland@google.com> system/core: use proper nativehelper headers

libnativeheader exports headers under nativeheader. These were
available before incorrectly as global headers in order to give
access to jni.h.

Test: modules using system/core find headers
Bug: 63762847
Change-Id: I86240f7857dd815100cab32ad261aa9a0a54329c
/system/core/gatekeeperd/SoftGateKeeper.h
b0775ca51739747be074a4b933d52da933830ed5 07-Dec-2016 Stephen Hines <srhines@google.com> 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
/system/core/gatekeeperd/SoftGateKeeper.h
4f71319df011d796a60a43fc1bc68e16fbf7d321 05-Dec-2015 Elliott Hughes <enh@google.com> Track rename of base/ to android-base/.

Change-Id: Idf9444fece4aa89c93e15640de59a91f6e758ccf
/system/core/gatekeeperd/SoftGateKeeper.h
70309ff8c7dd84fb4852debeb9850f9ae1aa447e 10-Jul-2015 Andres Morales <anmorales@google.com> [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)
/system/core/gatekeeperd/SoftGateKeeper.h
9ea9a06b062a22039929e6fd654d5f5e92221446 23-Jun-2015 Andres Morales <anmorales@google.com> [gatekeeperd] invalidate stale password cache

password may change offline, invalidate the cache if it is
stale

Bug: 22019187
Change-Id: I2aaae978c8bd4629a0f93df3778d8679ae9b53d5
/system/core/gatekeeperd/SoftGateKeeper.h
c7ab1e81776876d226174248593c6d0f2a65892b 22-Jun-2015 Andres Morales <anmorales@google.com> [gatekeeperd] add fast path for SW password verification

Bug: 21445004
Change-Id: I5e36ddbefaf1fa8de8623858fd785ac8fb651a4f
/system/core/gatekeeperd/SoftGateKeeper.h
e1f827fc1fb2e4a632d77bdd19c2741caa120e8a 01-Jun-2015 Andres Morales <anmorales@google.com> [gatekeeperd] track gk failure record changes

Bug:21118563
Change-Id: Ia726dc4db6ec5c6a1e8e08a689ec82568ff1e5aa
/system/core/gatekeeperd/SoftGateKeeper.h
ae242929da80d88a7db223984ec9baa5fd5949e6 18-May-2015 Andres Morales <anmorales@google.com> [gatekeeperd] return brute-force throttling information

Bug: 21118563
Change-Id: I13c6a44f61668be8b4c1fde8c84dcfebab84517c
/system/core/gatekeeperd/SoftGateKeeper.h