diff options
-rw-r--r-- | sepolicy/file.te | 1 | ||||
-rw-r--r-- | sepolicy/file_contexts | 1 | ||||
-rw-r--r-- | sepolicy/hal_audio_default.te | 3 |
3 files changed, 5 insertions, 0 deletions
diff --git a/sepolicy/file.te b/sepolicy/file.te index 318a7b8..430dd83 100644 --- a/sepolicy/file.te +++ b/sepolicy/file.te @@ -1,4 +1,5 @@ # /data +type acdbdelta_vendor_data_file, file_type, data_file_type; type fpc_data_file, core_data_file_type, data_file_type, file_type; type thermal_data_file, core_data_file_type, data_file_type, file_type; diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 6d35a0c..f3745f7 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -10,6 +10,7 @@ /data/fpc(/.*)? u:object_r:fpc_data_file:s0 /data/decrypt\.txt u:object_r:thermal_data_file:s0 /data/vendor/qcam(/.*)? u:object_r:vendor_camera_data_file:s0 +/data/vendor/misc/audio/acdbdata/delta(/.*)? u:object_r:acdbdelta_vendor_data_file:s0 # Devices /dev/fpc1020 u:object_r:fpc1020_device:s0 diff --git a/sepolicy/hal_audio_default.te b/sepolicy/hal_audio_default.te index f841aaa..90f2907 100644 --- a/sepolicy/hal_audio_default.te +++ b/sepolicy/hal_audio_default.te @@ -4,3 +4,6 @@ allow hal_audio_default vendor_data_file:file create_file_perms; allow hal_audio_default vendor_data_file:dir rw_dir_perms; allow hal_audio_default thermal_socket:sock_file write; allow hal_audio_default thermal-engine:unix_stream_socket connectto; + +allow hal_audio_default acdbdelta_vendor_data_file:dir rw_dir_perms; +allow hal_audio_default acdbdelta_vendor_data_file:file create_file_perms; |