common: sepolicy: legacy: allow vendor_init to write on watermark_scale_factor
* [ 34.822814] type=1400 audit(1684370886.288:56): avc: denied { write } for comm="init" name="watermark_scale_factor" dev="proc" ino=37383 scontext=u:r:vendor_init:s0 tcontext=u:object_r:proc_watermark_scale_factor:s0 tclass=file permissive=0 Change-Id: I9878d93608e60d45d611b3fe76120403cb05b875 Signed-off-by: Jprimero15 <jprimero15@aospa.co>
This commit is contained in:
parent
1e233bbfc8
commit
900ea29a5d
|
@ -35,6 +35,7 @@ allow vendor_init unlabeled:dir { r_dir_perms setattr relabelfrom };
|
|||
allow vendor_init unlabeled:file { r_file_perms setattr relabelfrom };
|
||||
allow vendor_init ipa_dev:chr_file w_file_perms;
|
||||
allow vendor_init proc:file write;
|
||||
allow vendor_init proc_watermark_scale_factor:file w_file_perms;
|
||||
|
||||
# write from init.target.rc
|
||||
allow vendor_init sysfs_poweron_alarm:file w_file_perms;
|
||||
|
|
Loading…
Reference in New Issue