msm8953-common: Address denials regarding to access sysfs_kgsl
[ 45.239076] type=1400 audit(1601312101.298:24): avc: denied { search } for comm="DefaultPool5" name="kgsl-3d0" dev="sysfs" ino=29220 scontext=u:r:untrusted_app:s0:c151,c256,c512,c768 tcontext=u:object_r:sysfs_kgsl:s0 tclass=dir permissive=0 app=com.google.android.apps.maps
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I80c5de2d9687b3127922d5bc55c26461a797d0f9
This commit is contained in:
committed by
jeangraff30
parent
43f04a3e8d
commit
a791807e4d
1
sepolicy/vendor/platform_app.te
vendored
1
sepolicy/vendor/platform_app.te
vendored
@@ -7,4 +7,3 @@ allow platform_app hal_dms_default:binder { call transfer };
|
||||
allow platform_app sysfs_kgsl:lnk_file read;
|
||||
get_prop(platform_app, moto_boot_prop)
|
||||
get_prop(platform_app, hwrev_prop)
|
||||
|
||||
|
||||
1
sepolicy/vendor/untrusted_app.te
vendored
Normal file
1
sepolicy/vendor/untrusted_app.te
vendored
Normal file
@@ -0,0 +1 @@
|
||||
allow untrusted_app sysfs_kgsl:dir search;
|
||||
Reference in New Issue
Block a user