Skip to content

Commit

Permalink
Sepolicy for power-stats and power hal
Browse files Browse the repository at this point in the history
Add sepolicy for vendor power and power
stats implementation.

Test Done: Boot and check if power stats
and power hal are loaded

Signed-off-by: Shwetha B <[email protected]>
  • Loading branch information
shwethabolumbu committed Nov 6, 2024
1 parent 09662be commit 04d71fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion power/file_contexts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Power HAL service
/(vendor|system/vendor)/bin/hw/android\.hardware\.power@[0-9]+.?[0-9]*-service u:object_r:hal_power_service_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.power-service\.intel u:object_r:hal_power_default_exec:s0
# Power HAL helper
(/system)?/vendor/bin/power_hal_helper u:object_r:power_hal_helper_exec:s0
1 change: 1 addition & 0 deletions power_stats/file_contexts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/vendor/bin/hw/android\.hardware\.power\.stats-service\.intel u:object_r:hal_power_stats_default_exec:s0

0 comments on commit 04d71fa

Please sign in to comment.