diff options
author | jinfaw <jinfaw@codeaurora.org> | 2016-09-07 13:03:57 +0800 |
---|---|---|
committer | jinfaw <jinfaw@codeaurora.org> | 2016-09-12 11:40:46 +0800 |
commit | 0c2dbaf7e33ed2de11a28e8a7ed9ac1a3122f7a4 (patch) | |
tree | 316191855ed6282c30e5def71c8bd9ed5d3e1537 /msmcobalt/untrusted_app.te | |
parent | f6882ff286804117b685cab01421f218474d652b (diff) | |
download | android_device_qcom_sepolicy-0c2dbaf7e33ed2de11a28e8a7ed9ac1a3122f7a4.tar.gz android_device_qcom_sepolicy-0c2dbaf7e33ed2de11a28e8a7ed9ac1a3122f7a4.tar.bz2 android_device_qcom_sepolicy-0c2dbaf7e33ed2de11a28e8a7ed9ac1a3122f7a4.zip |
sepolicy:Add oemfs ruler for carrier switch
1.Carrier overlay apk could be found and loaded in oemfs
2.Carrier Link file could be found in oemfs,such as "lib.so.link"
Change-Id: I5b84094fa4f429095c45c3536e6a193e98786eb2
CRs-Fixed: 1025803
Diffstat (limited to 'msmcobalt/untrusted_app.te')
-rw-r--r-- | msmcobalt/untrusted_app.te | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/msmcobalt/untrusted_app.te b/msmcobalt/untrusted_app.te new file mode 100644 index 00000000..e8b029e1 --- /dev/null +++ b/msmcobalt/untrusted_app.te @@ -0,0 +1,30 @@ +# Copyright (c) 2016, 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. + + +# for oemfs +allow untrusted_app oemfs:lnk_file { read getattr }; |