review chre

Bug: 198109521
Test: boot with chre started
Change-Id: Ibca6cc3ca0049a412d36e433cb5dcb3363d60527
This commit is contained in:
Adam Shih
2021-08-30 14:02:30 +08:00
parent e1db507a06
commit ffc779eaa8
6 changed files with 5 additions and 5 deletions

View File

@@ -51,9 +51,6 @@ type sysfs_nanoapp_cmd, sysfs_type, fs_type;
# Fingerprint
type sysfs_fingerprint, sysfs_type, fs_type;
# CHRE
type chre_socket, file_type;
# IOMMU
type sysfs_iommu, sysfs_type, fs_type;

View File

@@ -204,8 +204,6 @@
# Contexthub
/vendor/bin/hw/android\.hardware\.contexthub@1\.2-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
# TCP logging
/vendor/bin/tcpdump_logger u:object_r:tcpdump_logger_exec:s0

View File

@@ -16,3 +16,6 @@ type sysfs_chosen, sysfs_type, fs_type;
type modem_img_file, contextmount_type, file_type, vendor_file_type;
allow modem_img_file self:filesystem associate;
# CHRE
type chre_socket, file_type;

View File

@@ -3,6 +3,7 @@
/vendor/bin/modem_logging_control u:object_r:modem_logging_control_exec:s0
/vendor/bin/sced u:object_r:sced_exec:s0
/vendor/bin/vcd u:object_r:vcd_exec:s0
/vendor/bin/chre u:object_r:chre_exec:s0
# Vendor Firmwares
/vendor/firmware(/.*)? u:object_r:vendor_fw_file:s0
@@ -16,6 +17,7 @@
/dev/umts_rfs0 u:object_r:radio_device:s0
/dev/umts_dm0 u:object_r:radio_device:s0
/dev/umts_router u:object_r:radio_device:s0
/dev/socket/chre u:object_r:chre_socket:s0
# Data
/data/vendor/slog(/.*)? u:object_r:vendor_slog_file:s0