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;
|