Allow vendor_init to set USB properties

Bug: 181925042
Test: $ make selinux_policy
      Push SELinux modules, switch to Enforcing mode
      Ensure the vendor_init denials are gone
Change-Id: I4007cbc2396fa1fc22f1d18a977beb11c57e3b12
This commit is contained in:
Alex Hong 2021-03-08 14:59:13 +08:00
parent fc5a6a88db
commit 6bfbfc3c3a

View file

@ -3,6 +3,7 @@ set_prop(vendor_init, vendor_modem_prop)
set_prop(vendor_init, vendor_cbd_prop) set_prop(vendor_init, vendor_cbd_prop)
get_prop(vendor_init, vendor_rild_prop) get_prop(vendor_init, vendor_rild_prop)
get_prop(vendor_init, vendor_persist_sys_modem_prop) get_prop(vendor_init, vendor_persist_sys_modem_prop)
set_prop(vendor_init, vendor_usb_config_prop)
allow vendor_init proc_dirty:file w_file_perms; allow vendor_init proc_dirty:file w_file_perms;
allow vendor_init proc_sched:file write; allow vendor_init proc_sched:file write;