diff --git a/sepolicy/vendor/hal_sensors_default.te b/sepolicy/vendor/hal_sensors_default.te new file mode 100644 index 0000000..8f32f45 --- /dev/null +++ b/sepolicy/vendor/hal_sensors_default.te @@ -0,0 +1,6 @@ +type persist_sensors_prop, property_type; + +allow hal_sensors_default hal_audio_default:unix_stream_socket connectto; +allow hal_sensors_default audio_socket:sock_file rw_file_perms; + +get_prop(hal_sensors_default, vendor_adsprpc_prop) diff --git a/sepolicy/vendor/sensors.te b/sepolicy/vendor/sensors.te new file mode 100644 index 0000000..b9a6a8d --- /dev/null +++ b/sepolicy/vendor/sensors.te @@ -0,0 +1 @@ +r_dir_file(sensors, sysfs_graphics)