summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Brzeziński <brzezinski@google.com>2021-10-19 10:57:42 +0000
committerMichał Brzeziński <brzezinski@google.com>2021-10-19 10:57:42 +0000
commitceb89d2986ff2f6b6a1f055641fbe9ae6730a4c3 (patch)
tree7c3b13d243fe90daf4d94bcf15a5d56f9fdc6371
parent72a17586a1d2259beb1110cabadfd90aca7ca1f2 (diff)
downloadcrosshatch-sepolicy-ceb89d2986ff2f6b6a1f055641fbe9ae6730a4c3.tar.gz
Revert "Remove the bdev_type and sysfs_block_type SELinux attributes"
Revert "Remove the bdev_type and sysfs_block_type SELinux attributes" Revert submission 1850578-remove-selinux-bdev-type Reason for revert: DroidMonitor-triggered revert due to breakage, bug b/203480787 BUG: 203480787 Reverted Changes: I263bce9c4:Remove the bdev_type and sysfs_block_type SELinux ... Ibc9039f96:Revert "Add the 'bdev_type' attribute to all block... Ic6ae83576:Remove the bdev_type and sysfs_block_type SELinux ... Ie493022a8:Remove the bdev_type and sysfs_block_type SELinux ... I1f1ca439b:Revert "Add the 'bdev_type' attribute to all block... I283f8676b:Revert "Add the 'bdev_type' attribute to all block... I7c5c242c5:Revert "Add the 'bdev_type' attribute to all block... Id78d8f7dc:Remove the bdev_type and sysfs_block_type SELinux ... I9c4b2c48b:Remove the bdev_type and sysfs_block_type SELinux ... I51e9d384a:Remove the bdev_type and sysfs_block_type SELinux ... I2c414de3b:Remove the sysfs_block_type SELinux attribute Change-Id: I857ee6e3abcd4e42ce1126da169efe15d96ae976
-rw-r--r--vendor/qcom/common/device.te14
-rw-r--r--vendor/qcom/common/file.te2
2 files changed, 8 insertions, 8 deletions
diff --git a/vendor/qcom/common/device.te b/vendor/qcom/common/device.te
index 2b65291..0dcd4fc 100644
--- a/vendor/qcom/common/device.te
+++ b/vendor/qcom/common/device.te
@@ -1,15 +1,15 @@
-type ab_block_device, dev_type;
+type ab_block_device, dev_type, bdev_type;
type at_device, dev_type;
type avtimer_device, dev_type;
type bt_device, dev_type;
-type devinfo_block_device, dev_type;
+type devinfo_block_device, dev_type, bdev_type;
type diag_device, dev_type, mlstrustedobject;
type dsp_device, dev_type;
type easel_device, dev_type, mlstrustedobject;
-type gpt_block_device, dev_type;
+type gpt_block_device, dev_type, bdev_type;
type ipa_dev, dev_type;
-type modem_block_device, dev_type;
-type persist_block_device, dev_type;
+type modem_block_device, dev_type, bdev_type;
+type persist_block_device, dev_type, bdev_type;
type qsee_ipc_irq_spss_device, dev_type;
type qdsp_device, dev_type, mlstrustedobject;
type ramdump_device, dev_type;
@@ -18,7 +18,7 @@ type seemplog_device, dev_type;
type sg_device, dev_type;
type smd_device, dev_type;
type spcom_device, dev_type;
-type ssd_block_device, dev_type;
+type ssd_block_device, dev_type, bdev_type;
type ssr_device, dev_type;
type wlan_device, dev_type;
-type xbl_block_device, dev_type;
+type xbl_block_device, dev_type, bdev_type;
diff --git a/vendor/qcom/common/file.te b/vendor/qcom/common/file.te
index 14f4da8..13d6008 100644
--- a/vendor/qcom/common/file.te
+++ b/vendor/qcom/common/file.te
@@ -13,7 +13,7 @@ type sysfs_msm_wlan, sysfs_type, fs_type;
type sysfs_poweroff, sysfs_type, fs_type;
type sysfs_rmtfs, sysfs_type, fs_type;
type sysfs_soc, 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;
type sysfs_scsi_devices_other, sysfs_type, fs_type;
type sysfs_system_sleep_stats, sysfs_type, fs_type;
type sysfs_timestamp_switch, sysfs_type, fs_type;