History log of /system/core/gatekeeperd/gatekeeperd.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a84ce0c581145c847d0f3c366226b99b5c6e00b0 24-Jan-2017 Chris Phoenix <cphoenix@google.com> gatekeeper HAL uses "default" service name

The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: builds

Bug: 33844934
Change-Id: Ie49c8cea290d328b2160f6012e7c143c49d535cc
/system/core/gatekeeperd/gatekeeperd.cpp
72030fb7bc7ed6244c21c4a494c70cb6fca3d60d 24-Oct-2016 Janis Danisevskis <jdanis@google.com> Adjust for small changes in the native keystore interface

Test: compiled and run on bullhead device
Bug: 32020919
Change-Id: I8352b87be090ba756e3a6ea51cd691cd5594e8f7
/system/core/gatekeeperd/gatekeeperd.cpp
271a1a7cda437756e442d478eaa8aaf772be7a62 11-Jan-2017 Mark Salyzyn <salyzyn@google.com> resolve merge conflicts of a45b1d6f3 to master

Test: compile
Bug: 30465923
Change-Id: I648855539df3cfa176c6ecac19b6a562ba6feaf7
a45b1d6f38047760bf206889517cc43c012d1317 11-Jan-2017 Mark Salyzyn <salyzyn@google.com> Merge "liblog: use log/log.h when utilizing ALOG macros" am: 01e12b4ee7 am: c3b346ea93
am: 5482cb01b2

Change-Id: Ifaf21912d44f6ee9fda06df255ba3f7a4ca26ed7
30f991f251940be3ed11566fb71139852286f68a 10-Jan-2017 Mark Salyzyn <salyzyn@google.com> liblog: use log/log.h when utilizing ALOG macros

Test: compile
Bug: 30465923
Change-Id: Id6d76510819ebd88c3f5003d00d73a0dbe85e943
/system/core/gatekeeperd/gatekeeperd.cpp
a1538906ac0d250248326c11b495821f3e49e487 05-Jan-2017 Steven Moreland <smoreland@google.com> Merge "Return<*> getStatus().isOk() -> isOk()"
48e00f74709e08ae873075b33b2e6e4ceee5d5a7 04-Jan-2017 Alexey Polyudov <apolyudov@google.com> gatekeeperd: protect from invalid data passed by HAL am: 8c63536ded
am: 563ed1672f

Change-Id: I524b468ef7d54444feaceacbcdc66861a1cada0c
563ed1672fdddedc7e9475a57ceee6dfdb133950 04-Jan-2017 Alexey Polyudov <apolyudov@google.com> gatekeeperd: protect from invalid data passed by HAL
am: 8c63536ded

Change-Id: Ie020281e63504ea0b9f27e9e36433d3e137ae018
813309326b7997f6981a46785fbd3da9c7fa99e5 04-Jan-2017 Steven Moreland <smoreland@google.com> Return<*> getStatus().isOk() -> isOk()

Bug: 31348667
Test: compiles
Change-Id: I44d89e45c8bf8bcd7a47dff1f5cd4d454c95a079
/system/core/gatekeeperd/gatekeeperd.cpp
8c63536ded48bf803db9d98d46837bd7fcad9dc0 08-Sep-2016 Alexey Polyudov <apolyudov@google.com> gatekeeperd: protect from invalid data passed by HAL

Bug: 31349112
Change-Id: I6c0656f85e44054147f8795c98baab7a98f575b9
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
/system/core/gatekeeperd/gatekeeperd.cpp
275aece60998dd47289d16bb3fdfa6d3e3383ce2 18-Oct-2016 Alexey Polyudov <apolyudov@google.com> Use HIDL-generated HAL interworking code

Change-Id: Ide455f8e8bba8b7f403cc7a8971848c11d3b37a8
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
/system/core/gatekeeperd/gatekeeperd.cpp
66ce3e08c5632a20ea66bde6dd76397041edf034 28-Sep-2016 Mark Salyzyn <salyzyn@google.com> system/core Replace cutils/log.h with android/log.h

Should use android/log.h instead of cutils/log.h as a good example
to all others. Adjust header order to comply with Android Coding
standards.

Test: Compile
Bug: 26552300
Bug: 31289077
Change-Id: I2c9cbbbd64d8dccf2d44356361d9742e4a9b9031
/system/core/gatekeeperd/gatekeeperd.cpp
e7aa2b2c8378b458345477d1f6d9904490263bb6 02-Mar-2016 George Burgess IV <gbiv@google.com> Cleanup uses of sprintf so we can deprecate it.

Also cleans up two instances of open() with useless mode params, and
changes a few uses of snprintf to use sizeof(buffer) instead of
hardcoded buffer sizes.

Change-Id: If11591003d910c995e72ad8f75afd072c255a3c5
/system/core/gatekeeperd/gatekeeperd.cpp
1cf7d259e856f589657c597d46f6f53d1dbf3fae 05-Aug-2015 Andres Morales <anmorales@google.com> [gatekeeperd] Check parent profile for SID lookups

Bug: 22257554
Change-Id: I1a363729b449a2bc8594b48dada719fd79da7036
/system/core/gatekeeperd/gatekeeperd.cpp
787c3764d305168e927c29d5d57ae68e242cd7a9 10-Jul-2015 Andres Morales <anmorales@google.com> Merge "[gatekeeperd] fix use of uninitialized memory" into mnc-dev
0b0435ea87f87b31652a2c6272c1f77438bfcdf1 10-Jul-2015 Andres Morales <anmorales@google.com> [gatekeeperd] fix file descriptor leak

Bug: 22403703
Change-Id: I65da3b3b3f85db035d79277344beb5460cb025f2
/system/core/gatekeeperd/gatekeeperd.cpp
fef908e5a50a4026bb94edabb8f500a959b9ed0e 07-Jul-2015 Andres Morales <anmorales@google.com> [gatekeeperd] fix use of uninitialized memory

Bug: 22319772
Change-Id: I3cb83389f11e54867aca132de48a3f6407b7eaf3
/system/core/gatekeeperd/gatekeeperd.cpp
7f6dcf657680aaf51dcd5d41c32c89254779b2a8 25-Jun-2015 Andres Morales <anmorales@google.com> [gatekeeperd] fix issue with SW->HW upgrades

If the handle version is 0, there's no hardware_backed flag
meaning hardware backed handles will be attempted against
the soft impl. Ensure we don't try to read from hardware_backed
unless the version is > 0.

Bug: 21090356
Change-Id: I65f009c55538ea3c20eb486b580eb11ce93934fc
/system/core/gatekeeperd/gatekeeperd.cpp
3c2086dabdb87e027412bb4405279128a321e184 24-Jun-2015 Andres Morales <anmorales@google.com> [gatekeeperd] clear state and mark on cold boot

required to initialize state by certain HAL impls

Bug: 22011857
Change-Id: Ibb01a799da983e1a930aae946c331b23f571861d
/system/core/gatekeeperd/gatekeeperd.cpp
835d96eae59aefeaa32fda3218246db51bf22fab 04-Jun-2015 Andres Morales <anmorales@google.com> [gatekeeperd] handle upgrades from software version to HAL

Certain devices, like Shamu, are currently running an interim
software-only gatekeeper. When the HAL for those devices is merged,
we need to handle upgrading to the HAL smoothly.

Bug: 21090356
Change-Id: I5352bc547a43671a08249eae532e8b3ce6b90087
/system/core/gatekeeperd/gatekeeperd.cpp
531e3e83c28a2fdb2270b26b2bf0333ed6e30682 02-Jun-2015 Andres Morales <anmorales@google.com> [gatekeeperd] verify a password after enrolling successfully

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

Bug: 21118563
Change-Id: I13c6a44f61668be8b4c1fde8c84dcfebab84517c
/system/core/gatekeeperd/gatekeeperd.cpp
33dfdc7bbc48911a8a5324b16b05e492ae653d76 13-May-2015 Andres Morales <anmorales@google.com> Move SoftGateKeeper into gatekeeperd

Allows for easy determination of whether there's a
hardware module in place. Permits tighter coupling of
software implementation with upper-level stack.

Bug:21090356
Change-Id: I275b57cd976c233c43c476c5869c5a4b29fbc175
/system/core/gatekeeperd/gatekeeperd.cpp
dcb3fbdaa4bf5eca7b6a07689871e4e8f631070c 17-Apr-2015 Andres Morales <anmorales@google.com> Make clear SID delete the file

This allows us to recover in situations where we manage
to clear the SID in GateKeeper but fail to remove the
password in LockSettingsService.

Change-Id: Ib64ead137632f9615745a414c90a9b66b847134f
/system/core/gatekeeperd/gatekeeperd.cpp
7c9c3bc9c2d3f98ff839f73dc76750dc23693eae 17-Apr-2015 Andres Morales <anmorales@google.com> Implement clear SID API

Change-Id: I4ada55674edff32d3e39d460070e03abbf847359
/system/core/gatekeeperd/gatekeeperd.cpp
6a49c2fa4371cad600f4a96da3d1644df862d2a5 16-Apr-2015 Andres Morales <anmorales@google.com> Implement SID API

Change-Id: Id11632a6b4b9cab6f08f97026dd65fdf49a46491
/system/core/gatekeeperd/gatekeeperd.cpp
2ae8b4c28fc95022b2075e77c73959e51e01b6ce 13-Apr-2015 Andres Morales <anmorales@google.com> Use proper NO_ERROR checking KS return value

It's a bit weird that KS defines NO_ERROR outside a
namespace like the Android binder lib, but assigns
it the value 1 instead of 0.

Change-Id: I5aedfd495f2f3bdff7eb1b4ba0f75d335dfe12d9
/system/core/gatekeeperd/gatekeeperd.cpp
c828ae87768f3539cefadb7e485b877995918299 11-Apr-2015 Andres Morales <anmorales@google.com> Update verify API to return auth token blob

Change-Id: I853e61815458b54fb3b2f29e12a147b3b9aa3788
/system/core/gatekeeperd/gatekeeperd.cpp
851b57c1f81bd3572cf5908611ba029be934c706 10-Apr-2015 Andres Morales <anmorales@google.com> Add challenge to verify call

required for enrolling secondary auth form factors

Change-Id: Ia3e1d47f988bca1bb1a0e713c000886e60b4e839
/system/core/gatekeeperd/gatekeeperd.cpp
2d08dce0beedcfc63b2a837045d1be7d49157555 04-Apr-2015 Andres Morales <anmorales@google.com> GateKeeper proxy service

Until we have SELinux support for gating access
to individual TEE services, we will proxy TEE requests
to GateKeeper via this daemon.

Change-Id: Ifa316b75f75bff79bdae613a112c8c3c2e7189a8
/system/core/gatekeeperd/gatekeeperd.cpp