init.te: Allow init to modify the properties of loop devices am: 052995e65e
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/sepolicy/+/15515664 Change-Id: Ic460f58f34857dc1f31615fdb4736f8cc22546f7
This commit is contained in:
commit
b282e92e78
2 changed files with 8 additions and 0 deletions
|
@ -38,6 +38,10 @@ userdebug_or_eng(`
|
|||
# that userdata is mounted onto.
|
||||
allow init sysfs_dm:file read;
|
||||
|
||||
# Allow init to modify the properties of loop devices.
|
||||
allow init sysfs_loop:dir r_dir_perms;
|
||||
allow init sysfs_loop:file rw_file_perms;
|
||||
|
||||
# Allow init to write to the drop_caches file.
|
||||
allow init proc_drop_caches:file rw_file_perms;
|
||||
|
||||
|
|
|
@ -38,6 +38,10 @@ userdebug_or_eng(`
|
|||
# that userdata is mounted onto.
|
||||
allow init sysfs_dm:file read;
|
||||
|
||||
# Allow init to modify the properties of loop devices.
|
||||
allow init sysfs_loop:dir r_dir_perms;
|
||||
allow init sysfs_loop:file rw_file_perms;
|
||||
|
||||
# Allow init to write to the drop_caches file.
|
||||
allow init proc_drop_caches:file rw_file_perms;
|
||||
|
||||
|
|
Loading…
Reference in a new issue