recovery: Add new rule for sys.usb.ffs.ready

init: avc:  denied  { set } for property=sys.usb.ffs.ready
    scontext=u:r:recovery:s0 tcontext=u:object_r:ffs_prop:s0
    tclass=property_service

Change-Id: Id3441ccc3c6a8915a5fdf50efd8c617d1242868a
This commit is contained in:
AdrianDC 2016-02-08 19:12:58 +01:00 committed by Gerrit Code Review
parent ec0322e31b
commit 36cb29d509
1 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,9 @@ allow recovery sdcard_posix:file r_file_perms;
# Control properties
allow recovery recovery_prop:property_service set;
# Set property sys.usb.ffs.ready
allow recovery ffs_prop:property_service set;
# recursive rm for wipes... :(
allow app_data_file self:filesystem associate;
allow recovery app_data_file:file { read open create write };