Skip to content
Snippets Groups Projects
Commit d33155be authored by Sen Jiang's avatar Sen Jiang
Browse files

Add bspatch to update_engine_exec.

This allow bspatch to have same perssion as update_engine.

Also added a rule to allow update_engine to execute bspatch.

Bug: 24478450
Test: No more permission deny during delta update.

Change-Id: If94bc703b2f3fc32f901f0d7f300934316d4e9a4
parent bcf31c78
No related branches found
No related tags found
No related merge requests found
......@@ -200,6 +200,7 @@
/system/bin/tzdatacheck u:object_r:tzdatacheck_exec:s0
/system/bin/idmap u:object_r:idmap_exec:s0
/system/bin/update_engine u:object_r:update_engine_exec:s0
/system/bin/bspatch u:object_r:update_engine_exec:s0
#############################
# Vendor files
......
......@@ -10,6 +10,7 @@ net_domain(update_engine);
allow update_engine self:process { setsched };
allow update_engine self:capability { fowner sys_admin };
allow update_engine kmsg_device:chr_file w_file_perms;
allow update_engine update_engine_exec:file rx_file_perms;
wakelock_use(update_engine);
# Allow using persistent storage in /data/misc/update_engine.
......
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