Merge "Fix denial of /debug_ramdisk/adb_debug.prop"

This commit is contained in:
Treehugger Robot 2019-04-23 13:09:32 +00:00 committed by Gerrit Code Review
commit 98fcefb276

View File

@ -52,8 +52,8 @@ allow init mnt_sdcard_file:lnk_file create;
# setrlimit
allow init self:global_capability_class_set sys_resource;
# Remove /dev/.booting, created before initial policy load or restorecon /dev.
allow init tmpfs:file unlink;
# Remove /dev/.booting and load /debug_ramdisk/* files
allow init tmpfs:file { getattr unlink };
# Access pty created for fsck.
allow init devpts:chr_file { read write open };