Commit graph

4 commits

Author SHA1 Message Date
Lei Ju
7e89a679d9 Allow sensor hal to connect to CHRE HAL
These policies are required to let DropDetect and IpHeath communicate
with CHRE HAL directly after CHRE multiclient HAL is enabled.

Bug: 324316275
Test: Trigger drop detection and observed corresponding logs
  are generated.
Change-Id: Icc087b59ff594224d7e637212558e68fb3f86437
2024-02-07 15:36:08 -08:00
Lei Ju
35e5021597 Update common chre sepolicy for socket connection
With multiclient HAL, the socket server domain changes from chre to
hal_contexthub_default.

Bug: 248615564
Test: updated the sepolicies and observed that avc violation logs
      disappears.
Change-Id: Ic5717cee6d2714bec49814a1b779266de79dc4f3
2023-12-26 23:29:58 -08:00
Lei Ju
403baea11f Update the common sepolicy for file access
Bug: 248615564
Test: load sepolicy onto pixel device and verify the output using
      audit2allow
Change-Id: I295cefa3637298fba3d266f5f95f83cb7329bd02
2023-12-20 16:36:18 -08:00
Lei Ju
f7f93daaf3 Set up common sepolicy for CHRE
Bug: 248615564
Test: compilation by make sepolicy
Change-Id: I0bde64d26d0c4451343f6f7032aecc20b275feaa
2023-12-19 10:32:04 -08:00