Merge "Revert "Move ODPM file rule to pixel sepolicy"" into tm-dev am: 9d3a25fb29
am: 5d40de63da
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/17609198 Change-Id: I699a703f900368346348598c25e95a76595d8d1a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
ae2cd552b6
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
|
# ODPM
|
||||||
type powerstats_vendor_data_file, file_type, data_file_type;
|
type powerstats_vendor_data_file, file_type, data_file_type;
|
||||||
|
type sysfs_odpm, sysfs_type, fs_type;
|
||||||
|
|
||||||
# bcl
|
# bcl
|
||||||
type sysfs_bcl, sysfs_type, fs_type;
|
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)
|
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:dir search;
|
||||||
allow hal_power_stats_default powerstats_vendor_data_file:file r_file_perms;
|
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:dir search;
|
||||||
allow hal_power_stats_default sysfs_edgetpu:file r_file_perms;
|
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_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