Commit graph

6 commits

Author SHA1 Message Date
Suren Baghdasaryan
3f4d774b8b Replace writepid with task_profiles command for cgroup migration
writepid command usage to join a cgroup has been deprecated in favor
of a more flexible approach using task_profiles. This way cgroup path
is not hardcoded and cgroup changes can be easily made. Replace
writepid with task_profiles command to migrate between cgroups.

Bug: 191283136
Test: build and boot
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ia136fd51d7fd39a0e1988ae3ae1aeb80ab5f3cc5
2021-10-22 00:33:43 +00:00
Janis Danisevskis
4c2b041a32 Keystore 2.0: Start keystore2 unconditionally.
Bug: 170144267
Test: N/A
Merged-In: Ia942a494c2af96a55d83a2495f4e5fba9eb77dff
Change-Id: Ia942a494c2af96a55d83a2495f4e5fba9eb77dff
2021-03-17 08:17:12 -07:00
Janis Danisevskis
ef14e1aa1b Keystore 2.0: Make keystore2 early boot ready.
Test: Keystore starts early and quickly without panicking.
Change-Id: I1c694e5b45a0f15075c625bb4d0604c6e17588f9
2021-02-24 19:40:30 -08:00
Janis Danisevskis
984658f806 Keystore 2.0: Rename keystore2 enable property.
Test: N/A
Bug: 160623310
Change-Id: Id8de044e4810fe39375a910b34bfeb2715251282
2021-02-05 12:25:39 -08:00
Janis Danisevskis
9402f2775b Keystore 2.0: Start keystore2 daemon conditionally.
This patch makes the keystore2 daemon start conditionally based on the
platform property ro.android.system.keystore2.enable.
This is patch can be reverted when the Keystore 2.0 migration is
complete. b/171563717

Bug: 171563717
Bug: 171305684
Test: The keystore2 daemon is running if the property
      ro.android.system.keystore2.enable is set and true
      and not running otherwise.
Change-Id: I2b3d6c70f45f3dafb9edb6f2f6960be94e13ed20
2020-10-23 11:14:52 -07:00
Janis Danisevskis
1af9126a1f Add Keystore 2.0 service.
This patch adds a boilerplate Keystore 2.0 service. It is configured to
run on the device but does not provide any useful service yet.
It provides basic functionality for generating, importing and using
keys, but it still lacks full Keystore functionality.

Test: VtsKeystore2V1_0TargetTest (in followup CL)
Bug: 160623310
Bug: 160930114
Bug: 160930117
Bug: 160930331
Bug: 159465122
Change-Id: I7dfa2f2f63f4da3af620aff2ec99c0cba3bda6fd
2020-10-15 16:11:09 -07:00