storage: fix vendor_init avc denied
avc: denied { write } for comm="init" name="swappiness" dev="proc" ino=207356 scontext=u:r:vendor_init:s0 tcontext=u:object_r:proc_dirty:s0 tclass=file permissive=1 Bug: 361093041 Test: local build Change-Id: I595008f957c322aedbdf383c4e50c0e0ce30b9dc Signed-off-by: Randall Huang <huangrandall@google.com>
This commit is contained in:
parent
bce5748b4f
commit
0440e82770
1 changed files with 3 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
|||
# vendor_init
|
||||
allow vendor_init sg_device:chr_file r_file_perms;
|
||||
|
||||
# dirty swappiness
|
||||
allow vendor_init proc_dirty:file w_file_perms;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue