davinci: sepolicy: Add sensors rules
Change-Id: I1e52fc7e35f4517c80cfc6ddc819d2b585ae7238
This commit is contained in:
parent
a17f9fcea7
commit
566fe95ed5
6
sepolicy/vendor/hal_sensors_default.te
vendored
Normal file
6
sepolicy/vendor/hal_sensors_default.te
vendored
Normal 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
1
sepolicy/vendor/sensors.te
vendored
Normal file
@ -0,0 +1 @@
|
||||
r_dir_file(sensors, sysfs_graphics)
|
Loading…
Reference in New Issue
Block a user