sepolicy: update init.te for zram device
Sync patch from zuma: ag/21578379, but move to gs-common. Avc denied log: avc: denied { write } for comm="init" name="zram0" dev="tmpfs" ino=1306 scontext=u:r:init:s0 tcontext=u:object_r:ram_device:s0 tclass=blk_file permissive=1 Verify on PBuilds: https://android-build.corp.google.com/abtd/run/L32800030008398424/ Bug: 370643878 Test: Boot and check avc denied logs Flag: EXEMPT sepolicy Change-Id: I90ea0b248835fa51fe07cfa23e5f819fd8422c08
This commit is contained in:
parent
da6c722022
commit
cf29787f8d
1 changed files with 2 additions and 0 deletions
2
performance/sepolicy/init.te
Normal file
2
performance/sepolicy/init.te
Normal file
|
@ -0,0 +1,2 @@
|
|||
# zram
|
||||
allow init ram_device:blk_file w_file_perms;
|
Loading…
Add table
Add a link
Reference in a new issue