summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@google.com>2021-10-08 09:17:46 -0700
committerBart Van Assche <bvanassche@google.com>2021-10-08 09:52:47 -0700
commit76156865a3bf0fecb4b709adce4bedcdb74a2edd (patch)
treee1675d823022553a57f0eadc1684cc3c8f1b9a0d
parent9fda5da648e792167b06940cc2e196d000d61bf6 (diff)
downloadredbull-sepolicy-76156865a3bf0fecb4b709adce4bedcdb74a2edd.tar.gz
Remove the bdev_type and sysfs_block_type SELinux attributes
Bug: 202520796 Test: Untested. Change-Id: I263bce9c4ef1957c3174390c8880a41c67a0a5b0 Signed-off-by: Bart Van Assche <bvanassche@google.com>
-rw-r--r--vendor/google/device.te2
-rw-r--r--vendor/qcom/common/device.te12
-rw-r--r--vendor/qcom/common/file.te2
3 files changed, 8 insertions, 8 deletions
diff --git a/vendor/google/device.te b/vendor/google/device.te
index 21282a1..3a88966 100644
--- a/vendor/google/device.te
+++ b/vendor/google/device.te
@@ -1,6 +1,6 @@
type ramoops_device, dev_type;
type rls_device, dev_type;
-type dp_block_device, dev_type, bdev_type;
+type dp_block_device, dev_type;
type qg_device, dev_type;
type logbuffer_device, dev_type;
type smcinvoke_device, dev_type;
diff --git a/vendor/qcom/common/device.te b/vendor/qcom/common/device.te
index 43a7063..db7a09c 100644
--- a/vendor/qcom/common/device.te
+++ b/vendor/qcom/common/device.te
@@ -3,15 +3,15 @@ type rmnet_device, dev_type;
type qdsp_device, dev_type, mlstrustedobject;
type fm_radio_device, dev_type;
type sg_device, dev_type;
-type ssd_block_device, dev_type, bdev_type;
+type ssd_block_device, dev_type;
type ramdump_device, dev_type;
type ipa_dev, dev_type;
type modem_ssr_device, dev_type;
type qce_device, dev_type;
type at_device, dev_type;
type wlan_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 persist_block_device, dev_type, bdev_type;
+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 persist_block_device, dev_type;
diff --git a/vendor/qcom/common/file.te b/vendor/qcom/common/file.te
index 1cfad85..1573c2d 100644
--- a/vendor/qcom/common/file.te
+++ b/vendor/qcom/common/file.te
@@ -51,7 +51,7 @@ type hal_neuralnetworks_data_file, file_type, data_file_type;
type mpss_rfs_data_file, data_file_type, file_type;
type rfs_tombstone_data_file, data_file_type, file_type;
type sysfs_msm_wlan, 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 debugfs_sched_features, debugfs_type, fs_type;
type debugfs_wlan, debugfs_type, fs_type;
type debugfs_ipc, debugfs_type, fs_type;