[gs101] Use common settings for Contexthub HAL
The change also labeled files under /data/vendor/chre/ to grant required access. Test: compilation Bug: 248615564 Change-Id: I4db158853764987cf04dc7963ff79c680613f028
This commit is contained in:
parent
3a53df7d7a
commit
40465c1988
2 changed files with 2 additions and 1 deletions
1
whitechapel/vendor/google/file.te
vendored
1
whitechapel/vendor/google/file.te
vendored
|
@ -49,6 +49,7 @@ type sysfs_nanoapp_cmd, sysfs_type, fs_type;
|
||||||
type sysfs_fingerprint, sysfs_type, fs_type;
|
type sysfs_fingerprint, sysfs_type, fs_type;
|
||||||
|
|
||||||
# CHRE
|
# CHRE
|
||||||
|
type chre_data_file, file_type, data_file_type;
|
||||||
type chre_socket, file_type;
|
type chre_socket, file_type;
|
||||||
|
|
||||||
# BT
|
# BT
|
||||||
|
|
2
whitechapel/vendor/google/file_contexts
vendored
2
whitechapel/vendor/google/file_contexts
vendored
|
@ -235,9 +235,9 @@
|
||||||
/data/vendor/sensor(/.*)? u:object_r:sensor_vendor_data_file:s0
|
/data/vendor/sensor(/.*)? u:object_r:sensor_vendor_data_file:s0
|
||||||
|
|
||||||
# Contexthub
|
# 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
|
/(vendor|system/vendor)/bin/chre u:object_r:chre_exec:s0
|
||||||
/dev/socket/chre u:object_r:chre_socket:s0
|
/dev/socket/chre u:object_r:chre_socket:s0
|
||||||
|
/data/vendor/chre(/.*)? u:object_r:chre_data_file:s0
|
||||||
|
|
||||||
# Modem logging
|
# Modem logging
|
||||||
/vendor/bin/modem_logging_control u:object_r:modem_logging_control_exec:s0
|
/vendor/bin/modem_logging_control u:object_r:modem_logging_control_exec:s0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue