sepolicy: set fsck_untrusted to permissive in recovery

Breaks installation from SD card in some cases otherwise.

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
This commit is contained in:
Wolfgang Wiedmeyer 2017-06-16 23:32:12 +02:00
parent f02a8d59a5
commit f14027ae6b
No known key found for this signature in database
GPG Key ID: 5816A24C10757FC4
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,8 @@
recovery_only(` recovery_only(`
# file system operations for sdcard
permissive fsck_untrusted;
# Secure adb (setup_adbd) # Secure adb (setup_adbd)
allow adbd adb_keys_file:dir search; allow adbd adb_keys_file:dir search;
allow recovery adb_keys_file:dir r_dir_perms; allow recovery adb_keys_file:dir r_dir_perms;