sdm660-common: sepolicy: Fix OTA on encrypted f2fs.

* uncrypt : type=1400 audit(0.0:12165): avc: denied { sys_admin } for capability=21 scontext=u:r:uncrypt:s0 tcontext=u:r:uncrypt:s0 tclass=capability permissive=0

Change-Id: Ifec7cea45830a9e10f55a194e377857429bf4051
Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
Dyneteve 2022-09-03 11:40:34 +02:00 committed by pix106
parent 8885e5975d
commit 66e57467db

2
sepolicy/vendor/uncrypt.te vendored Normal file
View file

@ -0,0 +1,2 @@
# Fix OTA with encrypted F2FS userdata
allow uncrypt self:capability { sys_admin fowner };