cbd: Fix avc error

avc: denied { search } for comm="cbd" name="/" dev="sda1" ino=2 scontext=u:r:cbd:s0 tcontext=u:object_r:persist_file:s0 tclass=dir permissive=0

Bug: 180687795
Change-Id: I149163760fa47378d03dc2d8c8a00c590788796c
This commit is contained in:
SalmaxChang 2021-06-07 09:38:47 +08:00 committed by Salmax Chang
parent f275064208
commit 7865bf8577

View file

@ -31,6 +31,7 @@ allow cbd proc_cmdline:file r_file_perms;
allow cbd persist_modem_file:dir create_dir_perms; allow cbd persist_modem_file:dir create_dir_perms;
allow cbd persist_modem_file:file create_file_perms; allow cbd persist_modem_file:file create_file_perms;
allow cbd persist_file:dir search;
allow cbd radio_vendor_data_file:dir create_dir_perms; allow cbd radio_vendor_data_file:dir create_dir_perms;
allow cbd radio_vendor_data_file:file create_file_perms; allow cbd radio_vendor_data_file:file create_file_perms;