summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@google.com>2021-10-21 03:24:43 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-10-21 03:24:43 +0000
commit837db5c16cf3d5dba8ac3c3acf45e848beca3df8 (patch)
tree1ffc8d7051e0efc83437048d83ab408f78156b91
parent3aa21f05dddc00a4f403e9d35e9e1a07e790de87 (diff)
parent7dc695097be0e0af6497eae80efa474d21652fc0 (diff)
downloadcrosshatch-sepolicy-837db5c16cf3d5dba8ac3c3acf45e848beca3df8.tar.gz
Revert "Revert "Remove the bdev_type and sysfs_block_type SELinux attributes"" am: 7dc695097b
Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1862754 Change-Id: Iaed9761e61ef8d047a3336b6429a0c339cb06248
-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 0dcd4fc..2b65291 100644
--- a/vendor/qcom/common/device.te
+++ b/vendor/qcom/common/device.te
@@ -1,15 +1,15 @@
-type ab_block_device, dev_type, bdev_type;
+type ab_block_device, dev_type;
type at_device, dev_type;
type avtimer_device, dev_type;
type bt_device, dev_type;
-type devinfo_block_device, dev_type, bdev_type;
+type devinfo_block_device, dev_type;
type diag_device, dev_type, mlstrustedobject;
type dsp_device, dev_type;
type easel_device, dev_type, mlstrustedobject;
-type gpt_block_device, dev_type, bdev_type;
+type gpt_block_device, dev_type;
type ipa_dev, dev_type;
-type modem_block_device, dev_type, bdev_type;
-type persist_block_device, dev_type, bdev_type;
+type modem_block_device, dev_type;
+type persist_block_device, dev_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, bdev_type;
+type ssd_block_device, dev_type;
type ssr_device, dev_type;
type wlan_device, dev_type;
-type xbl_block_device, dev_type, bdev_type;
+type xbl_block_device, dev_type;
diff --git a/vendor/qcom/common/file.te b/vendor/qcom/common/file.te
index 13d6008..14f4da8 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, sysfs_block_type;
+type sysfs_scsi_devices_0000, sysfs_type, fs_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;