summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/audioserver.te4
-rw-r--r--public/property.te1
2 files changed, 5 insertions, 0 deletions
diff --git a/public/audioserver.te b/public/audioserver.te
index a8a33cc5a..d593567aa 100644
--- a/public/audioserver.te
+++ b/public/audioserver.te
@@ -4,3 +4,7 @@ type audioserver_tmpfs, file_type;
# Allow audioserver to signal audio HAL processes and dump their stacks.
allow audioserver hal_audio_server:process signal;
+
+# Allow audioserver to access sensorservice.
+allow audioserver sensorservice_service:service_manager find;
+allow audioserver system_server:unix_stream_socket { read write };
diff --git a/public/property.te b/public/property.te
index 1d3f358fd..2b2af6d19 100644
--- a/public/property.te
+++ b/public/property.te
@@ -69,6 +69,7 @@ system_restricted_prop(device_config_runtime_native_boot_prop)
system_restricted_prop(device_config_runtime_native_prop)
system_restricted_prop(fingerprint_prop)
system_restricted_prop(hal_instrumentation_prop)
+system_restricted_prop(hypervisor_prop)
system_restricted_prop(init_service_status_prop)
system_restricted_prop(libc_debug_prop)
system_restricted_prop(module_sdkextensions_prop)