sepolicy: Allow vendor_qti_init_shell to open/write swappiness
12-23 23:01:12.495 4792 4792 I init.qcom.post_: type=1400 audit(0.0:2351): avc: denied { write } for name="swappiness" dev="proc" ino=55127 scontext=u:r:vendor_qti_init_shell:s0 tcontext=u:object_r:vendor_proc_swappiness:s0 tclass=file permissive=0 12-23 23:01:12.495 4792 4792 I init.qcom.post_: type=1400 audit(0.0:2352): avc: denied { open } for path="/proc/sys/vm/swappiness" dev="proc" ino=55127 scontext=u:r:vendor_qti_init_shell:s0 tcontext=u:object_r:vendor_proc_swappiness:s0 tclass=file permissive=0 Change-Id: Ic732c21825bf34bec2a25ac96da8599861a73723 Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
This commit is contained in:
parent
914b95d79f
commit
4ac3dbe4bc
|
@ -19,6 +19,7 @@ set_prop(vendor_init, vendor_persist_rcs_qti_prop)
|
|||
|
||||
# Allow changing swap settings
|
||||
allow vendor_qti_init_shell proc_swaps:file rw_file_perms;
|
||||
allow vendor_qti_init_shell vendor_proc_swappiness:file rw_file_perms;
|
||||
allow vendor_init vendor_proc_swappiness:file rw_file_perms;
|
||||
|
||||
# Allow tuning UFS nodes
|
||||
|
|
Loading…
Reference in New Issue