Revert "Move ODPM file rule to pixel sepolicy"
Revert "Move ODPM file rule to pixel sepolicy" Revert submission 17215583-odpm_sepolicy_refactor-tm-dev Reason for revert: build failure tracked in b/228261711 Reverted Changes: Ic9a89950a:Move ODPM file rule to pixel sepolicy I24105669b:Move ODPM file rule to pixel sepolicy I044a285ff:Move ODPM file rule to pixel sepolicy Change-Id: I36abfddaa5903739f9c5bf65d3c1cd506db9e604
This commit is contained in:
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;
|
||||
|
||||
Reference in New Issue
Block a user