Commits
Richard Liu committed 536faa78970
MA-12502-2 fix camera server opencl permission issue Sometimes when open camera it reports cameraserver need search permission for opencl_cache_file. This patch add necessary selinux permission for cameraserver, as cameraserver can't access vendor data by default, add below core and vendor rule to pass selinux build check "typeattribute cameraserver data_between_core_and_vendor_violators". Error log: avc: denied { search } for name=.opencl-cache dev=mmcblk1p12 ino=38 scontext=u:r:camerase rver:s0 tcontext=u:object_r:opencl_cache_file:s0 tclass=dir permissive=0 Change-Id: Id87022ac0a9c92f055feed61ef1ea920471b9617 Signed-off-by: Richard Liu <xuegang.liu@nxp.com> Reviewed-on: http://androidsource.ap.freescale.net/project/5794 Reviewed-by: Wenbo.Zhu <wenbo.zhu_1@nxp.com>