thermal: add sepolicy rule to access ODPM sysfs
Bug: 170653634 Test: test thermal behavior under enforcing mode Change-Id: I37500de957cc2375213f1d0416a88356f36d2367
This commit is contained in:
parent
f23a4423c4
commit
66fd237730
2 changed files with 3 additions and 0 deletions
|
@ -1 +1,3 @@
|
|||
allow hal_thermal_default self:netlink_generic_socket create_socket_perms_no_ioctl;
|
||||
allow hal_thermal_default sysfs_iio_devices:dir r_dir_perms;
|
||||
allow hal_thermal_default sysfs_odpm:file r_file_perms;
|
||||
|
|
1
whitechapel/vendor/google/vendor_init.te
vendored
1
whitechapel/vendor/google/vendor_init.te
vendored
|
@ -11,6 +11,7 @@ set_prop(vendor_init, vendor_ro_config_default_prop)
|
|||
get_prop(vendor_init, vendor_touchpanel_prop)
|
||||
set_prop(vendor_init, vendor_edgetpu_service_prop)
|
||||
set_prop(vendor_init, vendor_tcpdump_log_prop)
|
||||
set_prop(vendor_init, vendor_thermal_prop)
|
||||
|
||||
allow vendor_init proc_dirty:file w_file_perms;
|
||||
allow vendor_init proc_sched:file write;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue