mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_stone
synced 2026-01-27 17:18:49 +00:00
sm6375-common: sepolicy: dontaudit untrusted_app to open ashmem_device
- Fixes scroll lag in many apps, such as Twitter:
W RenderThread: type=1400 audit(0.0:12371): avc: denied { open } for path=/dev/ashmem dev=tmpfs ino=10848 scontext=u:r:untrusted_app:s0:c123,c256,c512,c768 tcontext=u:object_r:ashmem_device:s0 tclass=chr_file permissive=0 app=com.twitter.android
- Apps are no longer allowed open access to /dev/ashmem, unless they
target API level < Q.
(8b12ff5f21)
This commit is contained in:
committed by
boedhack99
parent
784a053951
commit
ed151f16ad
4
sepolicy/vendor/dontaudit.te
vendored
4
sepolicy/vendor/dontaudit.te
vendored
@@ -2,3 +2,7 @@ dontaudit {
|
||||
hal_camera_default
|
||||
rild
|
||||
} default_prop:file r_file_perms;
|
||||
|
||||
# Apps are no longer allowed open access to /dev/ashmem, unless they
|
||||
# target API level < Q.
|
||||
dontaudit untrusted_app ashmem_device:chr_file open;
|
||||
|
||||
Reference in New Issue
Block a user