davinci: sepolicy: Add sensors rules

Change-Id: I1e52fc7e35f4517c80cfc6ddc819d2b585ae7238
This commit is contained in:
Demon000 2020-03-05 20:14:58 +01:00 committed by Arian
parent a17f9fcea7
commit 566fe95ed5
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9
2 changed files with 7 additions and 0 deletions

View File

@ -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)

1
sepolicy/vendor/sensors.te vendored Normal file
View File

@ -0,0 +1 @@
r_dir_file(sensors, sysfs_graphics)