diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2019-06-20 03:07:43 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-06-20 03:07:43 +0000 |
commit | 3039777e84e5d32a2f22ffb74253531473da293d (patch) | |
tree | 7e5d6490153e12fcb07779443f3345a2ebda99c8 | |
parent | 016b77614579ae554ec9ee4b85658927919e4b92 (diff) | |
parent | 78d7565d394a816dcd9f49981056e3ce73b24bae (diff) | |
download | device_google_vrservices-3039777e84e5d32a2f22ffb74253531473da293d.tar.gz device_google_vrservices-3039777e84e5d32a2f22ffb74253531473da293d.tar.bz2 device_google_vrservices-3039777e84e5d32a2f22ffb74253531473da293d.zip |
Snap for 5674532 from 78d7565d394a816dcd9f49981056e3ce73b24bae to qt-c2f2-releaseandroid-10.0.0_r9android-10.0.0_r8android-10.0.0_r7android-10.0.0_r14android-10.0.0_r13android-10.0.0_r12android10-c2f2-s2-releaseandroid10-c2f2-s1-releaseandroid10-c2f2-release
Change-Id: I7531f177086ebd8cac21a3795c52be674f4f307b
-rw-r--r-- | vrcore/sepolicy_mtc/vrcore_app.te | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vrcore/sepolicy_mtc/vrcore_app.te b/vrcore/sepolicy_mtc/vrcore_app.te new file mode 100644 index 0000000..3dda5f2 --- /dev/null +++ b/vrcore/sepolicy_mtc/vrcore_app.te @@ -0,0 +1,16 @@ +### +### MTC specific VrCore permissions +### + +allow vrcore_app persist_file:dir search; + +# allow vrcore to access dsp +allow vrcore_app qdsp_device:chr_file r_file_perms; +r_dir_file(vrcore_app, adsprpcd_file) + +# allow vrcore to access sensor service +allow vrcore_app fwk_sensor_hwservice:hwservice_manager find; +allow vrcore_app sensorservice_service:service_manager find; + +# allow vrcore to access /persist/tango/calibration.xml +r_dir_file(vrcore_app, tango_data_file);
\ No newline at end of file |