Commits
wenbo.zhu committed 4f584dffeeb
MA-14031 ExtractorPkg.apk check and play some video files failed. The function failed is due to selinux error, but add ralated sepolicies directly are not allowed. Change the selinux label about /vendor/app. avc: denied { read } for pid=3732 comm="package-parsing" name="ExtractorPkg.apk" dev="dm-1" ino=479 scontext=u:r:system_server:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1 avc: denied { open } for pid=3732 comm="package-parsing" path="/vendor/app/ExtractorPkg/ExtractorPkg.apk" dev="dm-1" ino=479 scontext=u:r:system_server:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1 avc: denied { map } for pid=3732 comm="package-parsing" path="/vendor/app/ExtractorPkg/ExtractorPkg.apk" dev="dm-1" ino=479 scontext=u:r:system_server:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1 avc: denied { getattr } for pid=3732 comm="system_server" path="/vendor/app/ExtractorPkg/ExtractorPkg.apk" dev="dm-1" ino=479 scontext=u:r:system_server:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1 avc: denied { search } for pid=3600 comm="Binder:3600_2" name="app" dev="dm-1" ino=475 scontext=u:r:mediaextractor:s0 tcontext=u:object_r:vendor_app_file:s0 tclass=dir permissive=0 Change-Id: Iedc93d7ec511e24057468bf29a39c279ee4ebbbf Signed-off-by: wenbo.zhu <wenbo.zhu_1@nxp.com> Reviewed-on: http://androidsource.ap.freescale.net/project/7295 Reviewed-by: zhang sanshan <sanshan.zhang@nxp.com>