sepolicy: Add qva mediaextractor process permissions

- Add permission to read parser enable property and
  osal debug property

CRs-Fixed: 2402865

Change-Id: I002eeb74993af1d782095eefc6476bb50ae7d326
This commit is contained in:
Uma Mehta
2019-02-18 16:18:28 +05:30
parent 959bd02417
commit d3e3fdd5ea
3 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
# Copyright (c) 2019, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of The Linux Foundation nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
get_prop(mediaextractor, mm_parser_prop);
get_prop(mediaextractor, mm_osal_prop);

View File

@@ -25,6 +25,11 @@
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#mm-parser
type mm_parser_prop, property_type, extended_core_property_type;
#mm-osal
type mm_osal_prop, property_type, extended_core_property_type;
#WiFi Display
type wfd_service_prop, property_type, extended_core_property_type;
type wfd_sys_debug_prop, property_type, extended_core_property_type;

View File

@@ -39,6 +39,12 @@ vendor.camera.aux.packagelist u:object_r:persist_camera_prop:s0
persist.vendor.camera.privapp.list u:object_r:persist_camera_prop:s0
vendor.mls. u:object_r:vendor_mirrorlink_prop:s0
#mm-parser
vendor.mm.enable.qcom_parser u:object_r:mm_parser_prop:s0
vendor.qcom_parser. u:object_r:mm_parser_prop:s0
#mm-osal
vendor.debug.mmosal.config u:object_r:mm_osal_prop:s0
#Wifi Display
vendor.wfdservice u:object_r:wfd_service_prop:s0
persist.vendor.debug.wfd.wfdsvc u:object_r:wfd_sys_debug_prop:s0