Skip to content
Snippets Groups Projects
Commit 77e2a3ac authored by Tom Cherry's avatar Tom Cherry Committed by android-build-merger
Browse files

Allow vendor_init to write to misc_block_device am: db465285 am: 4af9448a

am: 5d8aba8b

Change-Id: I970508c74a120fc8a426c095ce5c6d611d48f5bd
parents 7e0f8a37 5d8aba8b
No related branches found
No related tags found
No related merge requests found
......@@ -600,6 +600,7 @@ neverallow {
-init
-uncrypt
-update_engine
-vendor_init
-vold
-recovery
-ueventd
......
......@@ -146,6 +146,9 @@ allow vendor_init serialno_prop:file { getattr open read };
# Vendor init can perform operations on trusted and security Extended Attributes
allow vendor_init self:global_capability_class_set sys_admin;
# Raw writes to misc block device
allow vendor_init misc_block_device:blk_file w_file_perms;
not_compatible_property(`
set_prop(vendor_init, {
property_type
......
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