sm8350-common: sepolicy: add rules for elliptic proximity
This commit is contained in:
parent
c53064216c
commit
97b3076919
4
sepolicy/vendor/file_contexts
vendored
4
sepolicy/vendor/file_contexts
vendored
@ -1,3 +1,7 @@
|
|||||||
|
# Audio
|
||||||
|
/dev/socket/audio_hw_socket u:object_r:audio_socket:s0
|
||||||
|
/dev/elliptic(.*)? u:object_r:sound_device:s0
|
||||||
|
|
||||||
# Battery
|
# Battery
|
||||||
/vendor/bin/batteryd u:object_r:batteryd_exec:s0
|
/vendor/bin/batteryd u:object_r:batteryd_exec:s0
|
||||||
/vendor/bin/batterysecret u:object_r:batterysecret_exec:s0
|
/vendor/bin/batterysecret u:object_r:batterysecret_exec:s0
|
||||||
|
6
sepolicy/vendor/hal_audio_default.te
vendored
6
sepolicy/vendor/hal_audio_default.te
vendored
@ -1 +1,7 @@
|
|||||||
|
type audio_socket, file_type;
|
||||||
|
type sound_device, dev_type;
|
||||||
|
|
||||||
set_prop(hal_audio_default, vendor_audio_prop)
|
set_prop(hal_audio_default, vendor_audio_prop)
|
||||||
|
|
||||||
|
allow hal_audio_default audio_socket:sock_file rw_file_perms;
|
||||||
|
allow hal_audio_default sound_device:chr_file rw_file_perms;
|
||||||
|
2
sepolicy/vendor/hal_sensors_default.te
vendored
Normal file
2
sepolicy/vendor/hal_sensors_default.te
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
allow hal_sensors_default audio_socket:sock_file rw_file_perms;
|
||||||
|
allow hal_sensors_default sound_device:chr_file rw_file_perms;
|
Loading…
Reference in New Issue
Block a user