sm8550-common: sepolicy: Allow system_server to write to tmpfs and zygote tmpfs

This denial is hit frequently on some device(s):

W CachedAppOptimi: type=1400 audit(0.0:146): avc: denied { write } for dev="tmpfs" ino=3073 scontext=u:r:system_server:s0 tcontext=u:object_r:zygote_tmpfs:s0 tclass=file permissive=0

W CachedAppOptimi: type=1400 audit(0.0:7910): avc:  denied  { write } for  dev="tmpfs" ino=1108 scontext=u:r:system_server:s0 tcontext=u:object_r:tmpfs:s0 tclass=file permissive=0

Change-Id: I6a08aa2c042f2d10fdeeefcd1f5f65ac844adf11
This commit is contained in:
Adithya R
2023-11-27 16:58:28 +05:30
committed by Mezaque Silver
parent 50972758d9
commit 41bb446a75

View File

@@ -0,0 +1,3 @@
# CachedAppOptimizer
allow system_server zygote_tmpfs:file rw_file_perms;
allow system_server tmpfs:file rw_file_perms;