summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Yoshida <gyoshida@google.com>2019-08-19 17:54:13 -0700
committerGrant Yoshida <gyoshida@google.com>2019-08-19 18:35:54 -0700
commit2a872fb0cb6acb8806a7eecb79bd096e0b4fe410 (patch)
treeebadf00bc1e11d7901d3b91444ff894e4df818f3
parent7ea95fe6a470c71531a2465e0c2a0aca36ee410f (diff)
downloaddevice_google_vrservices-2a872fb0cb6acb8806a7eecb79bd096e0b4fe410.tar.gz
device_google_vrservices-2a872fb0cb6acb8806a7eecb79bd096e0b4fe410.tar.bz2
device_google_vrservices-2a872fb0cb6acb8806a7eecb79bd096e0b4fe410.zip
Fix some additional selinux errors.
These came up on boot after fixing the previous errors. Test: GSI XR on an MTP, booted into VR. Change-Id: I35362e2660ec8f38799429981f15552272dcc2fe
-rw-r--r--xr/sepolicy/untrusted_app_27.te1
-rw-r--r--xr/sepolicy/vr_hwc.te1
2 files changed, 2 insertions, 0 deletions
diff --git a/xr/sepolicy/untrusted_app_27.te b/xr/sepolicy/untrusted_app_27.te
index a61c35f..e9bc2b3 100644
--- a/xr/sepolicy/untrusted_app_27.te
+++ b/xr/sepolicy/untrusted_app_27.te
@@ -1 +1,2 @@
allow untrusted_app_27 vr_hwc_service:service_manager find;
+allow untrusted_app_27 virtual_touchpad_service:service_manager find;
diff --git a/xr/sepolicy/vr_hwc.te b/xr/sepolicy/vr_hwc.te
new file mode 100644
index 0000000..295205e
--- /dev/null
+++ b/xr/sepolicy/vr_hwc.te
@@ -0,0 +1 @@
+allow vr_hwc untrusted_app_27:binder call;