From cf1ea7aad54c3b7aadc77392c816cda3380d0fb1 Mon Sep 17 00:00:00 2001 From: Adam Shih Date: Wed, 8 Sep 2021 12:34:14 +0800 Subject: [PATCH] review block devices Bug: 196916111 Test: boot with those partition mounted with no avc error Change-Id: I6248be92d19abf37f5b901aa6101436832813f42 --- legacy/device.te | 3 --- whitechapel_pro/device.te | 3 +++ {legacy => whitechapel_pro}/e2fs.te | 0 {legacy => whitechapel_pro}/fsck.te | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename {legacy => whitechapel_pro}/e2fs.te (100%) rename {legacy => whitechapel_pro}/fsck.te (100%) diff --git a/legacy/device.te b/legacy/device.te index 16c05a07..25f6abeb 100644 --- a/legacy/device.te +++ b/legacy/device.te @@ -1,8 +1,5 @@ # Block Devices -type efs_block_device, dev_type; type fat_block_device, dev_type; -type modem_userdata_block_device, dev_type; -type persist_block_device, dev_type; type vendor_block_device, dev_type; # Exynos devices diff --git a/whitechapel_pro/device.te b/whitechapel_pro/device.te index 5a8323e1..168968bb 100644 --- a/whitechapel_pro/device.te +++ b/whitechapel_pro/device.te @@ -2,4 +2,7 @@ type sda_block_device, dev_type, bdev_type; type devinfo_block_device, dev_type, bdev_type; type modem_block_device, dev_type, bdev_type; type custom_ab_block_device, dev_type, bdev_type; +type persist_block_device, dev_type, bdev_type; +type efs_block_device, dev_type, bdev_type; +type modem_userdata_block_device, dev_type, bdev_type; type sg_device, dev_type; diff --git a/legacy/e2fs.te b/whitechapel_pro/e2fs.te similarity index 100% rename from legacy/e2fs.te rename to whitechapel_pro/e2fs.te diff --git a/legacy/fsck.te b/whitechapel_pro/fsck.te similarity index 100% rename from legacy/fsck.te rename to whitechapel_pro/fsck.te