Merge "Revert "Move ODPM file rule to pixel sepolicy"" into tm-dev am: 9d3a25fb29
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/17609198 Change-Id: I91ec76384d8ba27c6ef35ff7871fde1d1172659f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
5d40de63da
3 changed files with 4 additions and 0 deletions
1
whitechapel/vendor/google/file.te
vendored
1
whitechapel/vendor/google/file.te
vendored
|
@ -152,6 +152,7 @@ type sysfs_chargelevel, sysfs_type, fs_type;
|
|||
|
||||
# ODPM
|
||||
type powerstats_vendor_data_file, file_type, data_file_type;
|
||||
type sysfs_odpm, sysfs_type, fs_type;
|
||||
|
||||
# bcl
|
||||
type sysfs_bcl, sysfs_type, fs_type;
|
||||
|
|
|
@ -7,6 +7,8 @@ binder_call(hal_power_stats_default, hal_bluetooth_btlinux)
|
|||
r_dir_file(hal_power_stats_default, sysfs_iio_devices)
|
||||
allow hal_power_stats_default powerstats_vendor_data_file:dir search;
|
||||
allow hal_power_stats_default powerstats_vendor_data_file:file r_file_perms;
|
||||
allow hal_power_stats_default sysfs_odpm:dir search;
|
||||
allow hal_power_stats_default sysfs_odpm:file rw_file_perms;
|
||||
|
||||
allow hal_power_stats_default sysfs_edgetpu:dir search;
|
||||
allow hal_power_stats_default sysfs_edgetpu:file r_file_perms;
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
allow hal_thermal_default sysfs_iio_devices:dir r_dir_perms;
|
||||
allow hal_thermal_default sysfs_odpm:file r_file_perms;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue