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

am 2b8bf155: am 303e139a: am b76966d6: recovery: remove auditallow for exec_type:dir writes

* commit '2b8bf155':
  recovery: remove auditallow for exec_type:dir writes
parents f3a6abbb 2b8bf155
No related branches found
No related tags found
No related merge requests found
...@@ -36,11 +36,9 @@ recovery_only(` ...@@ -36,11 +36,9 @@ recovery_only(`
# support to OTAs. However, that code has a bug. When an update occurs, # support to OTAs. However, that code has a bug. When an update occurs,
# some directories are inappropriately labeled as exec_type. This is # some directories are inappropriately labeled as exec_type. This is
# only transient, and subsequent steps in the OTA script correct this # only transient, and subsequent steps in the OTA script correct this
# mistake. # mistake. New devices are moving to block based OTAs, so this is not
# Allow this behavior for now until we can fix the underlying bug. # worth fixing. b/15575013
# b/15575013
allow recovery exec_type:dir { create_dir_perms relabelfrom relabelto }; allow recovery exec_type:dir { create_dir_perms relabelfrom relabelto };
auditallow recovery exec_type:dir { create_dir_perms relabelfrom relabelto };
# Write to /proc/sys/vm/drop_caches # Write to /proc/sys/vm/drop_caches
# TODO: create more specific label? # TODO: create more specific label?
......
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