sepolicy: recovery: Allow data file write

Needed to preserve /data/.layout_version (aka nesting bug fix).

Change-Id: Iaae982223e80ad10479cf1ca3db09da7ada5663e
This commit is contained in:
Tom Marshall 2015-03-09 15:08:27 -07:00 committed by Gerrit Code Review
parent d1fb504566
commit b4bf950060

View File

@ -33,7 +33,7 @@ allow recovery file_type:dir { rw_dir_perms rmdir };
allow recovery file_type:notdevfile_class_set { unlink getattr };
# wipe saves and restores the layout version
allow recovery install_data_file:file create_file_perms;
allow recovery system_data_file:file create;
allow recovery system_data_file:file create_file_perms;
# /cache/recovery things: command and logs
allow recovery recovery_cache_file:dir create_dir_perms;