summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Brzeziński <brzezinski@google.com>2021-10-19 14:23:05 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-10-19 14:23:05 +0000
commit69a5981953511210b06e50f1515e354d9a1902b8 (patch)
tree76459ae369b5e6125b3e6fcd973d05b5d44d4a98
parente9a43a0d0ad1dfabca90662694c3c4248e86ac96 (diff)
parent2cfd58a7ce4d17b2633ec55475ce9fe8a50256b1 (diff)
downloadcoral-sepolicy-69a5981953511210b06e50f1515e354d9a1902b8.tar.gz
Revert "Remove the bdev_type and sysfs_block_type SELinux attributes" am: c685827184 am: f6e6181f05 am: 8ff7a5e76f am: 2cfd58a7ce
Original change: https://android-review.googlesource.com/c/device/google/coral-sepolicy/+/1862224 Change-Id: Id49d2cb9a2685b2dc1ad6140b0ace7c27f025731
-rw-r--r--vendor/google/device.te2
-rw-r--r--vendor/qcom/common/device.te20
-rw-r--r--vendor/qcom/common/file.te2
3 files changed, 12 insertions, 12 deletions
diff --git a/vendor/google/device.te b/vendor/google/device.te
index 03af45f..2dd3a3e 100644
--- a/vendor/google/device.te
+++ b/vendor/google/device.te
@@ -9,4 +9,4 @@ type maxfg_device, dev_type;
type rls_device, dev_type;
type laser_device, dev_type;
type pwrstats_device, dev_type;
-type dp_block_device, dev_type;
+type dp_block_device, dev_type, bdev_type;
diff --git a/vendor/qcom/common/device.te b/vendor/qcom/common/device.te
index a57eb41..eabb99b 100644
--- a/vendor/qcom/common/device.te
+++ b/vendor/qcom/common/device.te
@@ -38,12 +38,12 @@ type modem_efs_partition_device, dev_type;
#Define device for partition links
type ssd_device, dev_type;
-type rpmb_device, dev_type;
+type rpmb_device, dev_type, bdev_type;
type sg_device, dev_type;
type dip_device, dev_type;
type sd_device, dev_type;
-type ssd_block_device, dev_type;
+type ssd_block_device, dev_type, bdev_type;
#ESOC device
type esoc_device, dev_type;
@@ -135,19 +135,19 @@ type bt_device, dev_type;
type wlan_device, dev_type;
#Define rawdump block device
-type rawdump_block_device, dev_type;
+type rawdump_block_device, dev_type, bdev_type;
#Block device for A/B partitions
-type custom_ab_block_device, dev_type;
-type xbl_block_device, dev_type;
-type gpt_block_device, dev_type;
-type modem_block_device, dev_type;
-type uefi_block_device, dev_type;
+type custom_ab_block_device, dev_type, bdev_type;
+type xbl_block_device, dev_type, bdev_type;
+type gpt_block_device, dev_type, bdev_type;
+type modem_block_device, dev_type, bdev_type;
+type uefi_block_device, dev_type, bdev_type;
-type persist_block_device, dev_type;
+type persist_block_device, dev_type, bdev_type;
#Define npu device
type npu_device, dev_type;
#define devinfo block device
-type devinfo_block_device, dev_type;
+type devinfo_block_device, dev_type, bdev_type;
diff --git a/vendor/qcom/common/file.te b/vendor/qcom/common/file.te
index aa14724..29fbbae 100644
--- a/vendor/qcom/common/file.te
+++ b/vendor/qcom/common/file.te
@@ -311,7 +311,7 @@ type rfs_tombstone_data_file, data_file_type, file_type;
# sysfs wlan
type sysfs_msm_wlan, sysfs_type, fs_type;
-type sysfs_scsi_devices_0000, sysfs_type, fs_type;
+type sysfs_scsi_devices_0000, sysfs_type, fs_type, sysfs_block_type;
# for PowerHal
type proc_sched_energy_aware, proc_type, fs_type;