Skip to content
Snippets Groups Projects
Commit bb2a06a7 authored by Nick Kralevich's avatar Nick Kralevich Committed by Android Git Automerger
Browse files

am e9f1c019: am 558710cd: recovery: allow relabelto unlabeled and other unlabeled rules

* commit 'e9f1c019':
  recovery: allow relabelto unlabeled and other unlabeled rules
parents 0cac452c e9f1c019
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,11 @@ recovery_only(`
allow recovery system_file:{ file lnk_file } { create_file_perms relabelfrom relabelto };
allow recovery system_file:dir { create_dir_perms relabelfrom relabelto };
# We may be asked to set an SELinux label for a type not known to the
# currently loaded policy. Allow it.
allow recovery unlabeled:file { create_file_perms relabelfrom relabelto };
allow recovery unlabeled:dir { create_dir_perms relabelfrom relabelto };
# 0eb17d944704b3eb140bb9dded299d3be3aed77e in build/ added SELinux
# support to OTAs. However, that code has a bug. When an update occurs,
# some directories are inappropriately labeled as exec_type. This is
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment