Skip to content
Snippets Groups Projects
Commit 3d533078 authored by Joel Galenson's avatar Joel Galenson
Browse files

Allow vendor_init to relabelfrom unlabeled.

This will be needed if vendors remove a label, as vendor_init would
need to relabel from it (which would be unlabeled) to the new label.

Test: Build policy.
Change-Id: Ieea0fcd7379da26b2864b971f7773ed61f413bb9
parent 6567cc26
No related branches found
No related tags found
No related merge requests found
......@@ -55,6 +55,8 @@ allow vendor_init {
-vold_metadata_file
}:dir { create search getattr open read setattr ioctl write add_name remove_name rmdir relabelfrom };
allow vendor_init unlabeled:{ dir notdevfile_class_set } { getattr relabelfrom };
allow vendor_init {
file_type
-core_data_file_type
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment