summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorPIPIPIG233666 <pig.priv@gmail.com>2020-02-18 06:49:03 +0100
committerArne Coucheron <arco68@gmail.com>2020-02-19 00:13:10 +0100
commit02de8d7061185e7cf609fe81731fefef8ceb200c (patch)
tree41f20e77329d3cbbe06c73fe6f66a7415796198f /common
parent8e2091f486c511ba813eb24965ec9f766b5d5647 (diff)
downloadandroid_device_lineage_sepolicy-02de8d7061185e7cf609fe81731fefef8ceb200c.tar.gz
android_device_lineage_sepolicy-02de8d7061185e7cf609fe81731fefef8ceb200c.tar.bz2
android_device_lineage_sepolicy-02de8d7061185e7cf609fe81731fefef8ceb200c.zip
gallery_app: Allow binder call with gpuservice
avc: denied { call } for scontext=u:r:gallery_app:s0:c512,c768 tcontext=u:r:gpuservice:s0 tclass=binder permissive=0 app=com.android.gallery3d Change-Id: Icfc215ab0ce77a551ef81b90936c9858aaded03d
Diffstat (limited to 'common')
-rw-r--r--common/private/gallery_app.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/private/gallery_app.te b/common/private/gallery_app.te
index ef2d331..11f5ee7 100644
--- a/common/private/gallery_app.te
+++ b/common/private/gallery_app.te
@@ -25,3 +25,6 @@ allow gallery_app vendor_file:file { rx_file_perms };
# Motivating case was /data/data/com.android.settings/cache/*.jpg for
# cropping or taking user photos.
allow gallery_app system_app_data_file:file { read write getattr };
+
+# Binder call with gpuservice
+binder_call(gallery_app, gpuservice)