Skip to content
Snippets Groups Projects
Commit 97b30769 authored by Cosmin Tanislav's avatar Cosmin Tanislav
Browse files

sm8350-common: sepolicy: add rules for elliptic proximity

parent c5306421
No related branches found
No related tags found
No related merge requests found
# Audio
/dev/socket/audio_hw_socket u:object_r:audio_socket:s0
/dev/elliptic(.*)? u:object_r:sound_device:s0
# Battery
/vendor/bin/batteryd u:object_r:batteryd_exec:s0
/vendor/bin/batterysecret u:object_r:batterysecret_exec:s0
......
type audio_socket, file_type;
type sound_device, dev_type;
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;
allow hal_sensors_default audio_socket:sock_file rw_file_perms;
allow hal_sensors_default sound_device:chr_file rw_file_perms;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment