diff --git a/whitechapel/vendor/google/file.te b/whitechapel/vendor/google/file.te index 9e7f1fab..8c985555 100644 --- a/whitechapel/vendor/google/file.te +++ b/whitechapel/vendor/google/file.te @@ -49,6 +49,7 @@ type sysfs_nanoapp_cmd, sysfs_type, fs_type; type sysfs_fingerprint, sysfs_type, fs_type; # CHRE +type chre_data_file, file_type, data_file_type; type chre_socket, file_type; # BT diff --git a/whitechapel/vendor/google/file_contexts b/whitechapel/vendor/google/file_contexts index 0fb85403..40114760 100644 --- a/whitechapel/vendor/google/file_contexts +++ b/whitechapel/vendor/google/file_contexts @@ -235,9 +235,9 @@ /data/vendor/sensor(/.*)? u:object_r:sensor_vendor_data_file:s0 # Contexthub -/vendor/bin/hw/android\.hardware\.contexthub-service\.generic u:object_r:hal_contexthub_default_exec:s0 /(vendor|system/vendor)/bin/chre u:object_r:chre_exec:s0 /dev/socket/chre u:object_r:chre_socket:s0 +/data/vendor/chre(/.*)? u:object_r:chre_data_file:s0 # Modem logging /vendor/bin/modem_logging_control u:object_r:modem_logging_control_exec:s0