diff options
author | Jiwen 'Steve' Cai <jwcai@google.com> | 2019-06-19 15:42:13 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-06-19 15:42:13 -0700 |
commit | 78d7565d394a816dcd9f49981056e3ce73b24bae (patch) | |
tree | 7e5d6490153e12fcb07779443f3345a2ebda99c8 | |
parent | 016b77614579ae554ec9ee4b85658927919e4b92 (diff) | |
parent | d1b4c077683fd997ef267a17b504df295bec8e60 (diff) | |
download | device_google_vrservices-78d7565d394a816dcd9f49981056e3ce73b24bae.tar.gz device_google_vrservices-78d7565d394a816dcd9f49981056e3ce73b24bae.tar.bz2 device_google_vrservices-78d7565d394a816dcd9f49981056e3ce73b24bae.zip |
Merge branch 'oc-dr1-daydream-dev' into goog/qt-devandroid-mainline-10.0.0_r4android-10.0.0_r45android-10.0.0_r44android-10.0.0_r43android-10.0.0_r42android-10.0.0_r41android-10.0.0_r40android-10.0.0_r39android-10.0.0_r38android-10.0.0_r37android-10.0.0_r36android-10.0.0_r35android-10.0.0_r34android-10.0.0_r33android-10.0.0_r32android-10.0.0_r31android-10.0.0_r30android10-qpr3-s1-releaseandroid10-qpr3-releaseandroid10-qpr2-s4-releaseandroid10-qpr2-s3-releaseandroid10-qpr2-s2-releaseandroid10-qpr2-s1-releaseandroid10-qpr2-releaseandroid10-qpr1-mainline-releaseandroid10-mainline-media-releaseandroid10-d4-s1-releaseandroid10-d4-release
am: d1b4c07768
Change-Id: I9ce5c29f5dafd67a0f955be7670c3fc8052e38a6
-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 |