Merge "Copy a dontaudit from init to vendor_init"

This commit is contained in:
Treehugger Robot 2017-11-16 05:22:44 +00:00 committed by Gerrit Code Review
commit 5984301afd

View file

@ -1,2 +1,6 @@
typeattribute vendor_init coredomain; typeattribute vendor_init coredomain;
# 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;