2017-11-15 23:57:14 +01:00
|
|
|
# Creating files on sysfs is impossible so this isn't a threat
|
|
|
|
# Sometimes we have to write to non-existent files to avoid conditional
|
|
|
|
# init behavior. See b/35303861 for an example.
|
|
|
|
dontaudit vendor_init sysfs:dir write;
|
2019-08-02 00:57:47 +02:00
|
|
|
|
|
|
|
# TODO(b/140259336) We want to remove vendor_init in the long term but allow for now
|
|
|
|
allow vendor_init system_data_root_file:dir rw_dir_perms;
|
2020-10-28 21:56:23 +01:00
|
|
|
|
|
|
|
# Let vendor_init set service.adb.tcp.port.
|
|
|
|
set_prop(vendor_init, adbd_config_prop)
|