sdm660-common: Address denials regarding to access sysfs_kgsl

[   22.419451] type=1400 audit(1601312073.698:17): avc: denied { search } for comm="ImageWallpaper" name="kgsl-3d0" dev="sysfs" ino=29220 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:sysfs_kgsl:s0 tclass=dir permissive=0 app=com.android.systemui
[    9.476242] type=1400 audit(1601312065.534:13): avc: denied { search } for comm="BootAnimation" name="kgsl-3d0" dev="sysfs" ino=29220 scontext=u:r:bootanim:s0 tcontext=u:object_r:sysfs_kgsl:s0 tclass=dir permissive=0

Change-Id: I80c5de2d9687b3127922d5bc55c26461a797d0f9
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@aosip.dev>
This commit is contained in:
Aayush Gupta 2020-09-28 18:33:28 +00:00 committed by OdSazib
parent 0d7a7d4ef5
commit 2ccf864f31
No known key found for this signature in database
GPG key ID: 0954440B60470871
2 changed files with 2 additions and 0 deletions

1
sepolicy/vendor/bootanim.te vendored Normal file
View file

@ -0,0 +1 @@
allow bootanim sysfs_kgsl:dir search;

1
sepolicy/vendor/platform_app.te vendored Normal file
View file

@ -0,0 +1 @@
allow platform_app sysfs_kgsl:dir search;