Merge "Fix denial of /debug_ramdisk/adb_debug.prop" into qt-dev

This commit is contained in:
TreeHugger Robot 2019-04-24 02:47:19 +00:00 committed by Android (Google) Code Review
commit e28daa6172

View file

@ -49,8 +49,8 @@ allow init {
# 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 };